summaryrefslogtreecommitdiffhomepage
path: root/src/object.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-01-27 07:40:13 -0800
committerYukihiro "Matz" Matsumoto <[email protected]>2013-01-27 07:40:13 -0800
commit60788672f26acd51438c1d7241cc134b03510272 (patch)
treee0f3155202e03d9bc4109e0a2b3fdf9777c664f6 /src/object.c
parenta43b53c14c23f4718d65b5e867daf3ec098d1bb5 (diff)
parent8f83f6674c536280e61692b9f2678959928613ff (diff)
downloadmruby-60788672f26acd51438c1d7241cc134b03510272.tar.gz
mruby-60788672f26acd51438c1d7241cc134b03510272.zip
Merge pull request #786 from carsonmcdonald/unsignedfixes
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)) {