about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/zle_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c
index 5751d5329..6ba1fbab6 100644
--- a/Src/Zle/zle_main.c
+++ b/Src/Zle/zle_main.c
@@ -1509,7 +1509,7 @@ recursiveedit(UNUSED(char **args))
 void
 reexpandprompt(void)
 {
-    static reexpanding;
+    static int reexpanding;
 
     if (!reexpanding++) {
 	free(lpromptbuf);