summary refs log tree commit diff
path: root/bin/ttpre.c
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
commit71a18bd0d47ba9586a73e4ff02749aa5784b3151 (patch)
treea92fa24ed9afe1269bcb43d2e26d57a6e0128643 /bin/ttpre.c
parentAdd Authority (diff)
downloadsrc-71a18bd0d47ba9586a73e4ff02749aa5784b3151.tar.gz
src-71a18bd0d47ba9586a73e4ff02749aa5784b3151.zip
Fix comparison warning in ttpre
Diffstat (limited to '')
-rw-r--r--bin/ttpre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ttpre.c b/bin/ttpre.c
index 79006ca9..be000c42 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");