aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--internal/gc.h2
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 */