From 4514aabb414da87d35e8a761698e1773f5a3893f Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 3 Feb 2024 11:08:12 -0800 Subject: [PATCH] Fixed warning C4245: 'return': conversion from 'int' to 'Uint64', signed/unsigned mismatch --- src/test/SDL_test_harness.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/SDL_test_harness.c b/src/test/SDL_test_harness.c index 73e23016ae..eb0cdaed2e 100644 --- a/src/test/SDL_test_harness.c +++ b/src/test/SDL_test_harness.c @@ -120,22 +120,22 @@ static Uint64 SDLTest_GenerateExecKey(const char *runSeed, const char *suiteName if (!runSeed || runSeed[0] == '\0') { SDLTest_LogError("Invalid runSeed string."); - return -1; + return 0; } if (!suiteName || suiteName[0] == '\0') { SDLTest_LogError("Invalid suiteName string."); - return -1; + return 0; } if (!testName || testName[0] == '\0') { SDLTest_LogError("Invalid testName string."); - return -1; + return 0; } if (iteration <= 0) { SDLTest_LogError("Invalid iteration count."); - return -1; + return 0; } /* Convert iteration number into a string */