diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-12-27 09:20:58 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-12-27 09:20:58 +0900 |
commit | 018769e291c223d82a7bc4d6a5a1bad247584c53 (patch) | |
tree | 0aedf9364802ed334302ce18454a79dbafc1e300 /internal/gc.h | |
parent | 30dbd9e4c7e29e4489a8729bfcd2e21e004f7ad9 (diff) |
Try to fix error on Solaris
Diffstat (limited to 'internal/gc.h')
-rw-r--r-- | internal/gc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/gc.h b/internal/gc.h index 36da0db53d..36b534ed1f 100644 --- a/internal/gc.h +++ b/internal/gc.h @@ -140,7 +140,7 @@ ruby_sized_xfree_inlined(void *ptr, size_t size) } # define SIZED_REALLOC_N(v, T, m, n) \ - ((v) = (T *)ruby_sized_xrealloc2((void *)(v), (n), sizeof(T), (m))) + ((v) = (T *)ruby_sized_xrealloc2((void *)(v), (m), sizeof(T), (n))) #endif /* HAVE_MALLOC_USABLE_SIZE */ |