diff options
author | June McEnroe <june@causal.agency> | 2019-08-27 23:10:09 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-08-27 23:10:09 -0400 |
commit | b7e363d56ec656930c3732794ca6127ed3aae8e8 (patch) | |
tree | 5bb905d9e47c395c12f1d8e7f63dd7b997a8664e /bin/psfed.c | |
parent | Remove host thursday (diff) | |
download | src-b7e363d56ec656930c3732794ca6127ed3aae8e8.tar.gz src-b7e363d56ec656930c3732794ca6127ed3aae8e8.zip |
Cast %lc parameter to wint_t
I hadn't realized that's what type %lc takes and suddenly started seeing warnings about it for some reason.
Diffstat (limited to '')
-rw-r--r-- | bin/psfed.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/psfed.c b/bin/psfed.c index 2eb8275d..3f72816a 100644 --- a/bin/psfed.c +++ b/bin/psfed.c @@ -289,7 +289,10 @@ static void normalInc(uint32_t n) { } static void normalPrint(const char *prefix) { if (normal.index <= 256) { - printf("%s: %02X '%lc'\n", prefix, normal.index, CP437[normal.index]); + printf( + "%s: %02X '%lc'\n", + prefix, normal.index, (wint_t)CP437[normal.index] + ); } else { printf("%s: %02X\n", prefix, normal.index); } |