Fixed a bunch of compiler warnings in the test code.

This commit is contained in:
Ryan C. Gordon
2017-01-07 22:24:45 -05:00
parent 13f2e54295
commit 70c8bd2481
5 changed files with 42 additions and 42 deletions

View File

@@ -121,7 +121,7 @@ clipboard_testClipboardTextFunctions(void *arg)
SDLTest_AssertCheck(
charResult[0] == '\0',
"Verify SDL_GetClipboardText returned string with length 0, got length %i",
SDL_strlen(charResult));
(int) SDL_strlen(charResult));
intResult = SDL_SetClipboardText((const char *)text);
SDLTest_AssertPass("Call to SDL_SetClipboardText succeeded");
SDLTest_AssertCheck(