aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony-LunarG <tony@lunarg.com>2019-06-13 16:21:57 -0600
committerTony Barbour <tony@lunarg.com>2019-06-14 13:31:35 -0600
commit122ac06d314c391d12d05f96aa8420010b123da2 (patch)
tree310e04b0320714a7083f1ee6f3cfa4d9ebd743a4
parentcbfd2721820ebcf1dd29caa216406c3e9c51020b (diff)
downloadvulkan-tools-122ac06d314c391d12d05f96aa8420010b123da2.tar.gz
cube: Fix compiler warning
Change-Id: I8a84556cf55b03cc39402067150fc86be3ed1a0a
-rw-r--r--cube/cube.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cube/cube.c b/cube/cube.c
index 12b73690..1d210342 100644
--- a/cube/cube.c
+++ b/cube/cube.c
@@ -3732,7 +3732,7 @@ static void demo_init(struct demo *demo, int argc, char **argv) {
#if defined(_WIN32)
if (!demo->suppress_popups) MessageBox(NULL, usage, "Usage Error", MB_OK);
#else
- fprintf(stderr, usage);
+ fprintf(stderr, "%s", usage);
fflush(stderr);
#endif
free(usage);