summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-12-08 13:27:10 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-12-08 13:27:10 +0900
commit0b6b042fe8377a94451c013ea1c7150762adef18 (patch)
tree677948d35ca60b1489e14501ad0dab6c3008f4f0 /src
parent47092ccfa5671a239854f50c585d1933d8f833d3 (diff)
downloadmruby-0b6b042fe8377a94451c013ea1c7150762adef18.tar.gz
mruby-0b6b042fe8377a94451c013ea1c7150762adef18.zip
variable.c: fix clang integer warning.
Diffstat (limited to 'src')
-rw-r--r--src/variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/variable.c b/src/variable.c
index 87e468dc2..bd598dd37 100644
--- a/src/variable.c
+++ b/src/variable.c
@@ -19,7 +19,7 @@ typedef struct iv_tbl {
} iv_tbl;
#define IV_EMPTY 0
-#define IV_DELETED (1<<31)
+#define IV_DELETED (1UL<<31)
#define IV_KEY_P(k) (((k)&~((uint32_t)IV_DELETED))!=0)
/* Creates the instance variable table. */