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/ttpre.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/ttpre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ttpre.c b/bin/ttpre.c index a0a2f604..b91c416d 100644 --- a/bin/ttpre.c +++ b/bin/ttpre.c @@ -24,7 +24,7 @@ static void put(wchar_t ch) { break; case L'&': printf("&"); break; case L'<': printf("<"); break; case L'>': printf(">"); - break; default: printf("%lc", ch); + break; default: printf("%lc", (wint_t)ch); } } |