Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/error.cc
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,11 @@ ErrorHandler::vxformat(int default_flags, const char *s, va_list val)
s = s2 + 1;
for (Conversion *item = error_items; item; item = item->next)
if (item->name.equals(s1, s2 - s1)) {
#ifdef HAVE_VA_LIST_AS_ARRAY
strstore = item->hook(flags, (va_list*) VA_LIST_REF(val));
#else
strstore = item->hook(flags, VA_LIST_REF(val));
#endif
s1 = strstore.begin();
s2 = strstore.end();
goto got_result;
Expand Down