diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-16 09:49:17 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-16 09:49:17 +0000 |
commit | f5b033cd4ee66a2fe3123573478eedf5612ffb33 (patch) | |
tree | 56b375096f8e16408998adbd7d26cb51a08dbb88 /ext/date/date_strftime.c | |
parent | 07784c78b95dc8cd88518387adb987433b37db61 (diff) |
* ext/date/date_tmx.h: offset in struct tmx_funcs is now int.
* ext/date/date_strftime.c: ditto.
* ext/date/date_core.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/date/date_strftime.c')
-rw-r--r-- | ext/date/date_strftime.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/date/date_strftime.c b/ext/date/date_strftime.c index b162413b90..87cb0a7ddd 100644 --- a/ext/date/date_strftime.c +++ b/ext/date/date_strftime.c @@ -424,8 +424,7 @@ date_strftime_with_tmx(char *s, size_t maxsize, const char *format, long off, aoff; int hl, hw; - off = NUM2LONG(rb_funcall(tmx_offset, rb_intern("round"), 0)); - + off = tmx_offset; aoff = off; if (aoff < 0) aoff = -off; |