diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-12-08 13:27:10 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-12-08 13:27:10 +0900 |
| commit | 0b6b042fe8377a94451c013ea1c7150762adef18 (patch) | |
| tree | 677948d35ca60b1489e14501ad0dab6c3008f4f0 | |
| parent | 47092ccfa5671a239854f50c585d1933d8f833d3 (diff) | |
| download | mruby-0b6b042fe8377a94451c013ea1c7150762adef18.tar.gz mruby-0b6b042fe8377a94451c013ea1c7150762adef18.zip | |
variable.c: fix clang integer warning.
| -rw-r--r-- | src/variable.c | 2 |
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. */ |
