gcc -Wall -Werror, build error
medaminben opened this issue · comments
Hey folks
SDL_mixer/src/codecs/stb_vorbis/stb_vorbis.h
Line 3769 in 4ed68d1
building with gcc 13.1 flagged as -Wall -Werror throws:
comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Werror=sign-compare]
a cast takes it out:
if ((int)(INT_MAX / sizeof(char*)) < f->comment_list_length)
can someone fix it please
I don't have gcc13 available, but my gcc14 warns only when using -W
or -Wextra
. Pushing a fix shortly.
Fixed.