aboutsummaryrefslogtreecommitdiff
path: root/utils/tcsh/patches/010-wint.patch
blob: 18c373d0217b6d89fff720c421c55baa9ffba747 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/ed.inputl.c
+++ b/ed.inputl.c
@@ -668,9 +668,9 @@ int
 GetCmdChar(Char ch)
 {
 #ifndef WINNT_NATIVE // We use more than 256 for various extended keys
-    wint_t c = ch & CHAR;
+    Char c = ch & CHAR;
 #else
-    wint_t c = ch;
+    Char c = ch;
 #endif
     return c < NT_NUM_KEYS ? CurrentKeyMap[c] : F_INSERT;
 }