Fix warning
How come this one is not generated by clang everything bot?! ../../../test/api/test-multithread.c:37:26: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] static char *font_path = "fonts/Inconsolata-Regular.abc.ttf"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../test/api/test-multithread.c:38:21: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
This commit is contained in:
parent
24382debe8
commit
9f79365c3b
|
@ -34,8 +34,8 @@
|
|||
#include <hb-ot.h>
|
||||
#include <glib.h>
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue