diff options
author | Mattias Andrée <maandree@kth.se> | 2023-01-08 23:04:40 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-01-08 23:04:40 +0100 |
commit | 930a75074eff7f1d3c91b3a244d47066247d7cd5 (patch) | |
tree | 177183a157223ba6d089822d3c7ee0b75e59dbab /libfonts_parse_order__.c | |
parent | m + add tests (diff) | |
download | libfonts-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_order__.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libfonts_parse_order__.c b/libfonts_parse_order__.c index 349347e..906c4a9 100644 --- a/libfonts_parse_order__.c +++ b/libfonts_parse_order__.c @@ -37,7 +37,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_order__(&res, buf) == 1);\ ASSERT(res == C);\ |