stdlib: Patched to compile.

This commit is contained in:
Ryan C. Gordon 2019-09-26 13:44:49 -04:00
parent 987aa3113c
commit 4001e6b351

View File

@ -1602,7 +1602,7 @@ SDL_PrintFloat(char *text, size_t maxlen, SDL_FormatInfo *info, double arg)
if (end != textstart) { if (end != textstart) {
const size_t filllen = SDL_min(len, ((size_t) (end - textstart)) - 1); const size_t filllen = SDL_min(len, ((size_t) (end - textstart)) - 1);
SDL_memset(textstart, fill, fillen); SDL_memset(textstart, fill, filllen);
} }
} }