summaryrefslogtreecommitdiff
path: root/Src/zsh.h
diff options
context:
space:
mode:
Diffstat (limited to 'Src/zsh.h')
-rw-r--r--Src/zsh.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 69fef33f5..a99c90065 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -1752,9 +1752,10 @@ struct tieddata {
* necessarily want to match multiple
* elements
*/
-#define SCANPM_ISVAR_AT ((-1)<<15) /* "$foo[@]"-style substitution
- * Only sign bit is significant
- */
+/* "$foo[@]"-style substitution
+ * Only sign bit is significant
+ */
+#define SCANPM_ISVAR_AT ((int)(((unsigned int)-1)<<15))
/*
* Flags for doing matches inside parameter substitutions, i.e.