diff --git a/test/api/test-multithread.c b/test/api/test-multithread.c index 58a637cae..af5e8f9a6 100644 --- a/test/api/test-multithread.c +++ b/test/api/test-multithread.c @@ -34,8 +34,8 @@ #include #include -static char *font_path = "fonts/Inconsolata-Regular.abc.ttf"; -static char *text = "abc"; +static const char *font_path = "fonts/Inconsolata-Regular.abc.ttf"; +static const char *text = "abc"; static int num_threads = 30; static int num_iters = 200;