aboutsummaryrefslogtreecommitdiffstats
path: root/libfonts_parse_aa__.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-08 23:04:40 +0100
committerMattias Andrée <maandree@kth.se>2023-01-08 23:04:40 +0100
commit930a75074eff7f1d3c91b3a244d47066247d7cd5 (patch)
tree177183a157223ba6d089822d3c7ee0b75e59dbab /libfonts_parse_aa__.c
parentm + add tests (diff)
downloadlibfonts-930a75074eff7f1d3c91b3a244d47066247d7cd5.tar.gz
libfonts-930a75074eff7f1d3c91b3a244d47066247d7cd5.tar.bz2
libfonts-930a75074eff7f1d3c91b3a244d47066247d7cd5.tar.xz
Print warnings
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libfonts_parse_aa__.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfonts_parse_aa__.c b/libfonts_parse_aa__.c
index 0ed9a3d..8394a56 100644
--- a/libfonts_parse_aa__.c
+++ b/libfonts_parse_aa__.c
@@ -36,7 +36,7 @@ main(void)
ASSERT(res == C);\
strcpy(buf, S);\
for (i = 0; buf[i]; i++)\
- buf[i] = toupper(buf[i]);\
+ buf[i] = (char)toupper(buf[i]);\
res = 999;\
ASSERT(libfonts_parse_aa__(&res, buf) == 1);\
ASSERT(res == C);\