A few more compiler warnings fixed.
authorRyan C. Gordon
Tue, 29 Aug 2017 16:05:03 -0400
changeset 1141758a0bc85b216
parent 11416 7e7d8a125d6a
child 11418 7749a3b2b343
A few more compiler warnings fixed.
test/testautomation_sdltest.c
     1.1 --- a/test/testautomation_sdltest.c	Tue Aug 29 15:52:49 2017 -0400
     1.2 +++ b/test/testautomation_sdltest.c	Tue Aug 29 16:05:03 2017 -0400
     1.3 @@ -1161,7 +1161,7 @@
     1.4    size_t i;
     1.5  
     1.6    targetLen = 16 + SDLTest_RandomUint8();
     1.7 -  result = SDLTest_RandomAsciiStringWithMaximumLength(targetLen);
     1.8 +  result = SDLTest_RandomAsciiStringWithMaximumLength((int) targetLen);
     1.9    SDLTest_AssertPass("Call to SDLTest_RandomAsciiStringWithMaximumLength(%d)", targetLen);
    1.10    SDLTest_AssertCheck(result != NULL, "Validate that result is not NULL");
    1.11    if (result != NULL) {
    1.12 @@ -1182,7 +1182,7 @@
    1.13  
    1.14    /* Negative test */
    1.15    targetLen = 0;
    1.16 -  result = SDLTest_RandomAsciiStringWithMaximumLength(targetLen);
    1.17 +  result = SDLTest_RandomAsciiStringWithMaximumLength((int) targetLen);
    1.18    SDLTest_AssertPass("Call to SDLTest_RandomAsciiStringWithMaximumLength(%d)", targetLen);
    1.19    SDLTest_AssertCheck(result == NULL, "Validate that result is NULL");
    1.20    lastError = (char *)SDL_GetError();
    1.21 @@ -1215,7 +1215,7 @@
    1.22  
    1.23    /* Positive test */
    1.24    targetLen = 16 + SDLTest_RandomUint8();
    1.25 -  result = SDLTest_RandomAsciiStringOfSize(targetLen);
    1.26 +  result = SDLTest_RandomAsciiStringOfSize((int) targetLen);
    1.27    SDLTest_AssertPass("Call to SDLTest_RandomAsciiStringOfSize(%d)", targetLen);
    1.28    SDLTest_AssertCheck(result != NULL, "Validate that result is not NULL");
    1.29    if (result != NULL) {
    1.30 @@ -1236,7 +1236,7 @@
    1.31  
    1.32    /* Negative test */
    1.33    targetLen = 0;
    1.34 -  result = SDLTest_RandomAsciiStringOfSize(targetLen);
    1.35 +  result = SDLTest_RandomAsciiStringOfSize((int) targetLen);
    1.36    SDLTest_AssertPass("Call to SDLTest_RandomAsciiStringOfSize(%d)", targetLen);
    1.37    SDLTest_AssertCheck(result == NULL, "Validate that result is NULL");
    1.38    lastError = (char *)SDL_GetError();