summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
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 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");