diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-10-28 01:32:25 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-10-28 01:32:25 +0900 |
| commit | 23d18bbd62fabc13b11ddafd05bb4365996c9986 (patch) | |
| tree | eaed10e707ddf84cdc32ec8979e24a61d4c9ab49 /include | |
| parent | 93f5f225772c398be6e409da3d3ef0f07ffbe1cf (diff) | |
| download | mruby-23d18bbd62fabc13b11ddafd05bb4365996c9986.tar.gz mruby-23d18bbd62fabc13b11ddafd05bb4365996c9986.zip | |
Add parentheses to pacify a warning.
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/proc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/proc.h b/include/mruby/proc.h index 24c9b0c21..17290950c 100644 --- a/include/mruby/proc.h +++ b/include/mruby/proc.h @@ -24,7 +24,7 @@ struct REnv { }; /* flags (21bits): 1(shared flag):10(cioff/bidx):10(stack_len) */ -#define MRB_ENV_SET_STACK_LEN(e,len) (e)->flags = (((e)->flags & ~0x3ff)|(unsigned int)(len) & 0x3ff) +#define MRB_ENV_SET_STACK_LEN(e,len) (e)->flags = (((e)->flags & ~0x3ff)|((unsigned int)(len) & 0x3ff)) #define MRB_ENV_STACK_LEN(e) ((mrb_int)((e)->flags & 0x3ff)) #define MRB_ENV_STACK_UNSHARED (1<<20) #define MRB_ENV_UNSHARE_STACK(e) (e)->flags |= MRB_ENV_STACK_UNSHARED |
