diff options
author | Mattias Andrée <maandree@kth.se> | 2023-01-08 22:19:02 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-01-08 22:19:02 +0100 |
commit | 603142e23528061e7ba5bdbcb466e676237745a8 (patch) | |
tree | cbcff6a1032d056e1e7b87846fdcc96248b932a7 /libfonts_decode_font_description.c | |
parent | Partially implement libfonts_get_default_font, libfonts_get_{default,output}_rendering_settings (diff) | |
download | libfonts-603142e23528061e7ba5bdbcb466e676237745a8.tar.gz libfonts-603142e23528061e7ba5bdbcb466e676237745a8.tar.bz2 libfonts-603142e23528061e7ba5bdbcb466e676237745a8.tar.xz |
Fix warnings
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libfonts_decode_font_description.c')
-rw-r--r-- | libfonts_decode_font_description.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libfonts_decode_font_description.c b/libfonts_decode_font_description.c index 2348d97..74a9571 100644 --- a/libfonts_decode_font_description.c +++ b/libfonts_decode_font_description.c @@ -123,16 +123,16 @@ fix_charset_subset(char *out, const char *in) saved.last = ranges[i].last; } else { if (saved.first == saved.last) - out += sprintf(out, "%"PRId32" ", saved.first); + out += sprintf(out, "%"PRIu32" ", saved.first); else - out += sprintf(out, "%"PRId32"-%"PRId32" ", saved.first, saved.last); + out += sprintf(out, "%"PRIu32"-%"PRIu32" ", saved.first, saved.last); saved = ranges[i]; } } if (saved.first == saved.last) - out += sprintf(out, "%"PRId32" ", saved.first); + out += sprintf(out, "%"PRIu32" ", saved.first); else - out += sprintf(out, "%"PRId32"-%"PRId32" ", saved.first, saved.last); + out += sprintf(out, "%"PRIu32"-%"PRIu32" ", saved.first, saved.last); out[-1] = '\0'; return 0; |