diff options
author | Lourens Naudé <[email protected]> | 2020-01-12 10:36:15 +0000 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-01-13 08:03:01 +0900 |
commit | 61ff5cd5fd43ef2a88752b569050d7e24077e827 (patch) | |
tree | 2c2e4ce7c938b4bc34f01a6851f890062fd3fd53 /gc.c | |
parent | 83b8dfac90e63d114918c46cda04caa9ed2c573d (diff) |
Fix syntax error in obj_free with hash size debug counter when USE_DEBUG_COUNTER is enabled
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2834
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2653,7 +2653,7 @@ obj_free(rb_objspace_t *objspace, VALUE obj) break; case T_HASH: #if USE_DEBUG_COUNTER - switch RHASH_SIZE(obj) { + switch (RHASH_SIZE(obj)) { case 0: RB_DEBUG_COUNTER_INC(obj_hash_empty); break; |