commit | 1e843418baa3e89d16e9f99dc3ba1f5cabde9d65 | [log] [tgz] |
---|---|---|
author | Jean Boussier <jean.boussier@gmail.com> | Wed Oct 13 12:36:28 2021 +0200 |
committer | Jens Geyer <Jens-G@users.noreply.github.com> | Wed May 14 21:16:22 2025 +0200 |
tree | daebafb80d2ee9904f00ca40dd5efd8776b3b31b | |
parent | df626d768a87fe07fef215b4dde831185e6929d7 [diff] [blame] |
[ruby] Fix shorten-64-to-32 errors on macOS Since the extconf.rb pass `-Werror`, the gem won't compile.
diff --git a/lib/rb/ext/struct.c b/lib/rb/ext/struct.c index 79cbabe..e8255a9 100644 --- a/lib/rb/ext/struct.c +++ b/lib/rb/ext/struct.c
@@ -225,7 +225,7 @@ } static void write_container(int ttype, VALUE field_info, VALUE value, VALUE protocol) { - int sz, i; + long sz, i; if (ttype == TTYPE_MAP) { VALUE keys;