From 71a18bd0d47ba9586a73e4ff02749aa5784b3151 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 20 May 2019 12:20:47 -0400 Subject: Fix comparison warning in ttpre --- bin/ttpre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ttpre.c') 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("
");
-	wchar_t ch;
+	wint_t ch;
 	while (WEOF != (ch = getwchar())) push(ch);
 	push(0); push(0); push(0);
 	printf("
\n"); -- cgit 1.4.1