diff options
| author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-21 09:27:51 +0000 |
|---|---|---|
| committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-21 09:27:51 +0000 |
| commit | 4103e718f8209dff7da1e8aa6c140820c18412ef (patch) | |
| tree | 1e97bcd3c2b96cee9d3b6387bbd3fa295ffbf806 | |
| parent | 80ca7d23f9906d28287a52ca91e12ef59f9a0f8b (diff) | |
merge revision(s) 33326:
warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ext/date/date_core.c | 2 | ||||
| -rw-r--r-- | iseq.c | 2 | ||||
| -rw-r--r-- | version.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c index e4ecadf700..2c72143168 100644 --- a/ext/date/date_core.c +++ b/ext/date/date_core.c @@ -2381,7 +2381,7 @@ offset_to_sec(VALUE vof, int *rof) n = FIX2LONG(vs); if (n < -DAY_IN_SECONDS || n > DAY_IN_SECONDS) return 0; - *rof = n; + *rof = (int)n; return 1; } } @@ -1313,7 +1313,7 @@ iseq_data_to_ary(rb_iseq_t *iseq) } rb_ary_push(body, ary); - pos += RARRAY_LEN(ary); + pos += RARRAY_LENINT(ary); /* reject too huge data */ } st_free_table(labels_table); @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.3" -#define RUBY_PATCHLEVEL 134 +#define RUBY_PATCHLEVEL 135 #define RUBY_RELEASE_DATE "2012-02-21" #define RUBY_RELEASE_YEAR 2012 |
