summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-05-20 12:20:47 -0400
committerJune McEnroe <june@causal.agency>2019-05-20 12:20:47 -0400
commita08a441761ddc0693ca99231f8cc6de505cf15dc (patch)
tree0178a0a279a35079246e298d41bf4709c3a4265e /bin
parentAdd Authority (diff)
downloadsrc-a08a441761ddc0693ca99231f8cc6de505cf15dc.tar.gz
src-a08a441761ddc0693ca99231f8cc6de505cf15dc.zip
Fix comparison warning in ttpre
Diffstat (limited to 'bin')
-rw-r--r--bin/ttpre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ttpre.c b/bin/ttpre.c
index 9f140749..a0a2f604 100644
--- a/bin/ttpre.c
+++ b/bin/ttpre.c
@@ -58,7 +58,7 @@ static void push(wchar_t ch) {
 int main(void) {
 	setlocale(LC_CTYPE, "");
 	printf("<pre>");
-	wchar_t ch;
+	wint_t ch;
 	while (WEOF != (ch = getwchar())) push(ch);
 	push(0); push(0); push(0);
 	printf("</pre>\n");