Some more linter warnings
[open-adventure.git] / misc.c
diff --git a/misc.c b/misc.c
index 0b28f00a2411e4b1673e9836b604c9c24f22be31..45528c20dd2e7485a4c93c85964ea19bbf0e6497 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -535,7 +535,7 @@ long atdwrf(long where)
 long setbit(long bit)
 /*  Returns 2**bit for use in constructing bit-masks. */
 {
-    return (1 << bit);
+    return (1L << bit);
 }
 
 bool tstbit(long mask, int bit)