diff options
Diffstat (limited to 'mkfontscale.c')
-rw-r--r-- | mkfontscale.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mkfontscale.c b/mkfontscale.c index 79d41bc..f9333ce 100644 --- a/mkfontscale.c +++ b/mkfontscale.c @@ -500,7 +500,7 @@ unsafe(char c) static const char * safe(const char *s) { - int i, len, safe_flag = 1; + unsigned int i, len, safe_flag = 1; char *t; i = 0; @@ -1181,7 +1181,7 @@ checkEncoding(FT_Face face, const char *encoding_name) else koi8 = 0; for (int i = encoding->first; i < encoding->size; i++) { - int c = FontEncRecode(i, mapping); + unsigned int c = FontEncRecode(i, mapping); if (CODE_IGNORED(c) || (koi8 && ((c >= 0x2200 && c < 0x2600) || c == 0x00b2))) { @@ -1270,7 +1270,7 @@ checkExtraEncoding(FT_Face face, const char *encoding_name, int found) /* Export as Unicode if there are at least 15 BMP characters that are not a space or ignored. */ - for (int c = 0x21; c < 0x10000; c++) { + for (unsigned int c = 0x21; c < 0x10000; c++) { if (CODE_IGNORED(c)) continue; if (FT_Get_Char_Index(face, c) > 0) |