diff options
| author | Carson McDonald <[email protected]> | 2013-01-27 09:44:47 -0500 |
|---|---|---|
| committer | Carson McDonald <[email protected]> | 2013-01-27 09:44:47 -0500 |
| commit | 8f83f6674c536280e61692b9f2678959928613ff (patch) | |
| tree | ad4af871c7b90361341f116d746a7e73979138e2 /src/object.c | |
| parent | 437aa216fc9a96d8d4898ff51c0c218670c8b807 (diff) | |
| download | mruby-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.c | 2 |
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)) { |
