summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2016-12-01 18:49:39 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2016-12-01 18:49:39 +0900
commit2cca9d368815e9c83a7489c40d69937d68cb43a2 (patch)
treea3b77c515b56dfe06476330a37373b1ee47a4d82
parentf1cf6ef8179313b31a12ed4e5eba509d3b2aed0f (diff)
downloadmruby-2cca9d368815e9c83a7489c40d69937d68cb43a2.tar.gz
mruby-2cca9d368815e9c83a7489c40d69937d68cb43a2.zip
avoid comparison between signed and unsigned integer; ref #3312
-rw-r--r--mrbgems/mruby-compiler/core/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-compiler/core/parse.y b/mrbgems/mruby-compiler/core/parse.y
index f0c45b85b..bf893fb37 100644
--- a/mrbgems/mruby-compiler/core/parse.y
+++ b/mrbgems/mruby-compiler/core/parse.y
@@ -3753,7 +3753,7 @@ scan_hex(const int *start, int len, int *retlen)
}
static int32_t
-read_escape_unicode(parser_state *p, size_t limit)
+read_escape_unicode(parser_state *p, int limit)
{
int32_t c;
int buf[9];