ruby-changes:58627
From: Koichi <ko1@a...>
Date: Fri, 8 Nov 2019 09:26:47 +0900 (JST)
Subject: [ruby-changes:58627] 46b9ca6c54 (master): fix type
https://git.ruby-lang.org/ruby.git/commit/?id=46b9ca6c54 From 46b9ca6c54ad7c4bb43df6a45854c5ffed980168 Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Fri, 8 Nov 2019 09:26:16 +0900 Subject: fix type diff --git a/compile.c b/compile.c index 457b166..9735c50 100644 --- a/compile.c +++ b/compile.c @@ -6754,7 +6754,7 @@ iseq_builtin_function_name(ID mid) https://github.com/ruby/ruby/blob/trunk/compile.c#L6754 { const char *name = rb_id2name(mid); const char prefix[] = "__builtin_"; - const int prefix_len = strlen(prefix); + const size_t prefix_len = strlen(prefix); if (UNLIKELY(strncmp("__builtin_", name, prefix_len) == 0)) { return &name[prefix_len]; -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/