diff options
author | Kevin Newton <kddnewton@gmail.com> | 2023-07-31 14:17:17 -0400 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-08-16 17:47:32 -0700 |
commit | 45efbadba55beace717eaad384c7125c801abd86 (patch) | |
tree | 49dab5942bf071a75451fef40e1949b3a84e3ccf /yarp/yarp.c | |
parent | f1658efe38347ec90c87c64dcee4f8e4656aa388 (diff) | |
download | ruby-45efbadba55beace717eaad384c7125c801abd86.tar.gz |
[ruby/yarp] Enable all of -wconversion
https://github.com/ruby/yarp/commit/638163f6c6
Diffstat (limited to 'yarp/yarp.c')
-rw-r--r-- | yarp/yarp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yarp/yarp.c b/yarp/yarp.c index f8301daa6b..f831d03ee1 100644 --- a/yarp/yarp.c +++ b/yarp/yarp.c @@ -5929,7 +5929,7 @@ parser_lex(yp_parser_t *parser) { } size_t ident_length = (size_t) (parser->current.end - ident_start); - if (quote != YP_HEREDOC_QUOTE_NONE && !match(parser, quote)) { + if (quote != YP_HEREDOC_QUOTE_NONE && !match(parser, (char) quote)) { // TODO: handle unterminated heredoc } |