summaryrefslogtreecommitdiff
path: root/test/testatomic.c
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2014-07-07 10:39:02 -0700
committerSam Lantinga <slouken@libsdl.org>2014-07-07 10:39:02 -0700
commit49ba28aa697872a0cdfe6cc7bbdd335a843bff3b (patch)
tree344e5b825246b357a845ffebb3421e195b1d532e /test/testatomic.c
parent32517ce95497193ff18c6dfee11ec356e192ff01 (diff)
downloadsdl-49ba28aa697872a0cdfe6cc7bbdd335a843bff3b.tar.gz
Fixed compiler warning
Diffstat (limited to 'test/testatomic.c')
-rw-r--r--test/testatomic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testatomic.c b/test/testatomic.c
index 45e5b69a4..662a017ca 100644
--- a/test/testatomic.c
+++ b/test/testatomic.c
@@ -700,7 +700,7 @@ static void RunFIFOTest(SDL_bool lock_free)
}
len = SDL_strlen(textBuffer);
SDL_snprintf(textBuffer + len, sizeof(textBuffer) - len, " }\n");
- SDL_Log(textBuffer);
+ SDL_Log("%s", textBuffer);
}
SDL_Log("Readers read %d total events\n", grand_total);
}