tests: several -Wwrite-strings fixes.

This commit is contained in:
Ozkan Sezer
2021-11-20 01:02:02 +03:00
parent 665865eda2
commit 990fb668f7
17 changed files with 84 additions and 84 deletions

View File

@@ -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;
}