tests: several -Wwrite-strings fixes.

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

No files matched your search

+5 -5
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;
}