ruby-changes:59516
From: Kazuhiro <ko1@a...>
Date: Fri, 27 Dec 2019 09:21:47 +0900 (JST)
Subject: [ruby-changes:59516] 018769e291 (master): Try to fix error on Solaris
https://git.ruby-lang.org/ruby.git/commit/?id=018769e291 From 018769e291c223d82a7bc4d6a5a1bad247584c53 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Fri, 27 Dec 2019 09:20:58 +0900 Subject: Try to fix error on Solaris diff --git a/internal/gc.h b/internal/gc.h index 36da0db..36b534e 100644 --- a/internal/gc.h +++ b/internal/gc.h @@ -140,7 +140,7 @@ ruby_sized_xfree_inlined(void *ptr, size_t size) https://github.com/ruby/ruby/blob/trunk/internal/gc.h#L140 } # 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 */ -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/