From f423813732bc3809f1c56a9da8ff64d75147b778 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 24 May 2013 03:29:31 -0700 Subject: [PATCH] Fixed Windows build --- .../testautomation_vs2010.vcxproj | 17 +++++++++-------- .../testautomation_vs2012.vcxproj | 17 +++++++++-------- src/stdlib/SDL_string.c | 2 +- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/VisualC/tests/testautomation/testautomation_vs2010.vcxproj b/VisualC/tests/testautomation/testautomation_vs2010.vcxproj index 0947a9754..3c4fe9d9f 100644 --- a/VisualC/tests/testautomation/testautomation_vs2010.vcxproj +++ b/VisualC/tests/testautomation/testautomation_vs2010.vcxproj @@ -179,20 +179,21 @@ + + + + - - - - - - + + + - + @@ -211,4 +212,4 @@ - \ No newline at end of file + diff --git a/VisualC/tests/testautomation/testautomation_vs2012.vcxproj b/VisualC/tests/testautomation/testautomation_vs2012.vcxproj index 340081bc2..1e6d973ab 100644 --- a/VisualC/tests/testautomation/testautomation_vs2012.vcxproj +++ b/VisualC/tests/testautomation/testautomation_vs2012.vcxproj @@ -183,20 +183,21 @@ - + + + + + - - - - - - + + + - + diff --git a/src/stdlib/SDL_string.c b/src/stdlib/SDL_string.c index dd3589e4e..3032d6a8d 100644 --- a/src/stdlib/SDL_string.c +++ b/src/stdlib/SDL_string.c @@ -1331,7 +1331,7 @@ static size_t SDL_PrintFloat(char *text, size_t maxlen, SDL_FormatInfo *info, double arg) { int i, width; - size_t len, spot; + size_t len; size_t left = maxlen; char *textstart = text;