aboutsummaryrefslogtreecommitdiffstats
path: root/internal.h
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2019-10-07 13:46:24 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2019-10-09 12:12:28 +0900
commit2f3b4029da1b64ffb989916a8b74e17c366e45b0 (patch)
tree20f3c16ccddc2c34cebcf4860858420cbe04bde6 /internal.h
parent59cfa2d1871c0b74d39d9eee6241f3e950eff42e (diff)
downloadruby-2f3b4029da1b64ffb989916a8b74e17c366e45b0.tar.gz
fix arity mismatch
Seems nobody has actually used this macro. Such an obvious typo.
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.h b/internal.h
index e653f30b44..6956427a78 100644
--- a/internal.h
+++ b/internal.h
@@ -1618,7 +1618,7 @@ void rb_copy_wb_protected_attribute(VALUE dest, VALUE obj);
#if defined(HAVE_MALLOC_USABLE_SIZE) || defined(HAVE_MALLOC_SIZE) || defined(_WIN32)
#define ruby_sized_xrealloc(ptr, new_size, old_size) ruby_xrealloc(ptr, new_size)
-#define ruby_sized_xrealloc2(ptr, new_count, element_size, old_count) ruby_xrealloc(ptr, new_count, element_size)
+#define ruby_sized_xrealloc2(ptr, new_count, element_size, old_count) ruby_xrealloc2(ptr, new_count, element_size)
#define ruby_sized_xfree(ptr, size) ruby_xfree(ptr)
#define SIZED_REALLOC_N(var,type,n,old_n) REALLOC_N(var, type, n)
#else