diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-08 16:06:30 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-08 16:28:38 +0900 |
commit | d8720eb7de9cd9d874b621f214c27022e17cc941 (patch) | |
tree | a0a448d47f614493d8a6bb9aabaca9a7cf9870e7 /ext/psych/psych.c | |
parent | 6163a4e1b33ed7df27d0c37e835ce04407857a16 (diff) |
Suppress -Wshorten-64-to-32 warnings
Diffstat (limited to 'ext/psych/psych.c')
-rw-r--r-- | ext/psych/psych.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/psych/psych.c b/ext/psych/psych.c index 3bb59bfc11..0afd7318b5 100644 --- a/ext/psych/psych.c +++ b/ext/psych/psych.c @@ -11,9 +11,9 @@ static VALUE libyaml_version(VALUE module) yaml_get_version(&major, &minor, &patch); - list[0] = INT2NUM((long)major); - list[1] = INT2NUM((long)minor); - list[2] = INT2NUM((long)patch); + list[0] = INT2NUM(major); + list[1] = INT2NUM(minor); + list[2] = INT2NUM(patch); return rb_ary_new4((long)3, list); } |