aboutsummaryrefslogtreecommitdiffstats
path: root/libfonts_decode_font_description.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libfonts_decode_font_description.c8
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;