You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in my own project I just hacked the line to.... size_t character = min(parser->length, parser->position + offset);
but for all I know that might make things explode....
src/xml.c: In function 'xml_parser_error':
src/xml.c:318:24: error: comparison of unsigned expression < 0 is always false [-Werror=type-limits]
318 | #define max(X,Y) ((X) > (Y) ? (X) : (Y))
| ^
src/xml.c:319:21: note: in expansion of macro 'max'
319 | size_t character = max(0, min(parser->length, parser->position + offset));
|
The text was updated successfully, but these errors were encountered: