mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +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
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue