summaryrefslogtreecommitdiffhomepage
path: root/src/object.c
diff options
context:
space:
mode:
authorCarson McDonald <[email protected]>2013-01-27 09:44:47 -0500
committerCarson McDonald <[email protected]>2013-01-27 09:44:47 -0500
commit8f83f6674c536280e61692b9f2678959928613ff (patch)
treead4af871c7b90361341f116d746a7e73979138e2 /src/object.c
parent437aa216fc9a96d8d4898ff51c0c218670c8b807 (diff)
downloadmruby-8f83f6674c536280e61692b9f2678959928613ff.tar.gz
mruby-8f83f6674c536280e61692b9f2678959928613ff.zip
Fixes a number of "comparison between signed and unsigned" warnings.
Diffstat (limited to 'src/object.c')
-rw-r--r--src/object.c2
1 files changed, 1 insertions, 1 deletions
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)) {