mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue