about summary refs log tree commit diff
path: root/Src/prompt.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/prompt.c')
-rw-r--r--Src/prompt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/prompt.c b/Src/prompt.c
index fc0c7ea47..b4b55a0ea 100644
--- a/Src/prompt.c
+++ b/Src/prompt.c
@@ -1130,7 +1130,8 @@ prompttrunc(int arg, int truncchar, int doprint, int endchar)
 			     * Normal text: build up a multibyte character.
 			     */
 			    char inchar;
-			    wchar_t cc, wcw;
+			    wchar_t cc;
+			    int wcw;
 
 			    /*
 			     * careful: string is still metafied (we