Fixed warning C4245: 'return': conversion from 'int' to 'Uint64', signed/unsigned mismatch
This commit is contained in:
parent
f107393ed5
commit
4514aabb41
1 changed files with 4 additions and 4 deletions
|
@ -120,22 +120,22 @@ static Uint64 SDLTest_GenerateExecKey(const char *runSeed, const char *suiteName
|
||||||
|
|
||||||
if (!runSeed || runSeed[0] == '\0') {
|
if (!runSeed || runSeed[0] == '\0') {
|
||||||
SDLTest_LogError("Invalid runSeed string.");
|
SDLTest_LogError("Invalid runSeed string.");
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!suiteName || suiteName[0] == '\0') {
|
if (!suiteName || suiteName[0] == '\0') {
|
||||||
SDLTest_LogError("Invalid suiteName string.");
|
SDLTest_LogError("Invalid suiteName string.");
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!testName || testName[0] == '\0') {
|
if (!testName || testName[0] == '\0') {
|
||||||
SDLTest_LogError("Invalid testName string.");
|
SDLTest_LogError("Invalid testName string.");
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (iteration <= 0) {
|
if (iteration <= 0) {
|
||||||
SDLTest_LogError("Invalid iteration count.");
|
SDLTest_LogError("Invalid iteration count.");
|
||||||
return -1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Convert iteration number into a string */
|
/* Convert iteration number into a string */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue