From dc2a682a821fa6b67236b117c6061642721d9967 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 20 Sep 2022 09:22:43 -0700 Subject: [PATCH] Use the right kind of 0 --- src/stdlib/SDL_string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stdlib/SDL_string.c b/src/stdlib/SDL_string.c index daf53d6a51..06ff885474 100644 --- a/src/stdlib/SDL_string.c +++ b/src/stdlib/SDL_string.c @@ -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) {