Try to fix error on Solaris

This commit is contained in:
Kazuhiro NISHIYAMA 2019-12-27 09:20:58 +09:00
parent 30dbd9e4c7
commit 018769e291
No known key found for this signature in database
GPG Key ID: 262ED8DBB4222F7A

View File

@ -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 */