Fix some format specifier warnings
The warnings were produced by GCC 9.2.x for x86_64-linux-gnu or i386-pc-msdosdjgpp targets. Most of the fixes involve changing the type of a variable rather than the format specifier. For many of the affected test conuter variables, a basic int seems sufficient. Some format specifier warnings still remain for cases where changing type or casting seemed inappropriate. Those warnings will probably require some new format specifier macros (e.g. SDL_PRIu32).
This commit is contained in:
parent
dad73b1f0c
commit
c760c02c6c
5 changed files with 16 additions and 16 deletions
|
@ -394,13 +394,13 @@ int SDLTest_RunSuites(SDLTest_TestSuiteReference *testSuites[], const char *user
|
|||
SDL_bool forceTestRun = SDL_FALSE;
|
||||
int testResult = 0;
|
||||
int runResult = 0;
|
||||
Uint32 totalTestFailedCount = 0;
|
||||
Uint32 totalTestPassedCount = 0;
|
||||
Uint32 totalTestSkippedCount = 0;
|
||||
Uint32 testFailedCount = 0;
|
||||
Uint32 testPassedCount = 0;
|
||||
Uint32 testSkippedCount = 0;
|
||||
Uint32 countSum = 0;
|
||||
int totalTestFailedCount = 0;
|
||||
int totalTestPassedCount = 0;
|
||||
int totalTestSkippedCount = 0;
|
||||
int testFailedCount = 0;
|
||||
int testPassedCount = 0;
|
||||
int testSkippedCount = 0;
|
||||
int countSum = 0;
|
||||
const SDLTest_TestCaseReference **failedTests;
|
||||
|
||||
/* Sanitize test iterations */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue