tests: several -Wwrite-strings fixes.
This commit is contained in:
1 parent
665865eda2
commit
990fb668f7
17 files changed
+84
-84
No files matched your search
+5
-5
@@ -19,13 +19,13 @@
|
||||
*/
|
||||
|
||||
static
|
||||
char *
|
||||
tf(SDL_bool tf)
|
||||
const char *
|
||||
tf(SDL_bool _tf)
|
||||
{
|
||||
static char *t = "TRUE";
|
||||
static char *f = "FALSE";
|
||||
static const char *t = "TRUE";
|
||||
static const char *f = "FALSE";
|
||||
|
||||
if (tf)
|
||||
if (_tf)
|
||||
{
|
||||
return t;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user