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