aboutsummaryrefslogtreecommitdiff
path: root/bin/ed/ed.h
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ed/ed.h')
-rw-r--r--bin/ed/ed.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ed/ed.h b/bin/ed/ed.h
index 20d5cec9c8de..b3905370f949 100644
--- a/bin/ed/ed.h
+++ b/bin/ed/ed.h
@@ -49,7 +49,7 @@
#define BITS(type) (BITSPERBYTE * (int)sizeof(type))
#define CHARBITS BITS(char)
#define INTBITS BITS(int)
-#define INTHIBIT (1 << (INTBITS - 1))
+#define INTHIBIT (unsigned) (1 << (INTBITS - 1))
#define ERR (-2)
#define EMOD (-3)