From 8f83f6674c536280e61692b9f2678959928613ff Mon Sep 17 00:00:00 2001 From: Carson McDonald Date: Sun, 27 Jan 2013 09:44:47 -0500 Subject: Fixes a number of "comparison between signed and unsigned" warnings. --- src/object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/object.c') diff --git a/src/object.c b/src/object.c index 99034e3be..f8ebd44bc 100644 --- a/src/object.c +++ b/src/object.c @@ -395,7 +395,7 @@ mrb_check_type(mrb_state *mrb, mrb_value x, enum mrb_vtype t) { const struct types *type = builtin_types; struct RString *s; - int xt; + enum mrb_vtype xt; xt = mrb_type(x); if ((xt != t) || (xt == MRB_TT_DATA)) { -- cgit v1.2.3