提交 9f79365c 编写于 作者: B Behdad Esfahbod

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]
上级 24382deb
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册