Use the right kind of 0

main
Sam Lantinga 2022-09-20 09:22:43 -07:00
parent 2461930601
commit dc2a682a82
1 changed files with 1 additions and 1 deletions

View File

@ -1364,7 +1364,7 @@ SDL_vsscanf(const char *text, const char *fmt, va_list ap)
break;
case 'f':
{
double value = 0;
double value = 0.0;
advance = SDL_ScanFloat(text, &value);
text += advance;
if (advance && !suppress) {