mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-05 23:10:58 +00:00
tests: several -Wwrite-strings fixes.
This commit is contained in:
parent
665865eda2
commit
990fb668f7
17 changed files with 84 additions and 84 deletions
|
@ -76,9 +76,9 @@ typedef struct SDLTest_TestCaseReference {
|
|||
/* !< Func2Stress */
|
||||
SDLTest_TestCaseFp testCase;
|
||||
/* !< Short name (or function name) "Func2Stress" */
|
||||
char *name;
|
||||
const char *name;
|
||||
/* !< Long name or full description "This test pushes func2() to the limit." */
|
||||
char *description;
|
||||
const char *description;
|
||||
/* !< Set to TEST_ENABLED or TEST_DISABLED (test won't be run) */
|
||||
int enabled;
|
||||
} SDLTest_TestCaseReference;
|
||||
|
@ -88,7 +88,7 @@ typedef struct SDLTest_TestCaseReference {
|
|||
*/
|
||||
typedef struct SDLTest_TestSuiteReference {
|
||||
/* !< "PlatformSuite" */
|
||||
char *name;
|
||||
const char *name;
|
||||
/* !< The function that is run before each test. NULL skips. */
|
||||
SDLTest_TestCaseSetUpFp testSetUp;
|
||||
/* !< The test cases that are run as part of the suite. Last item should be NULL. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue