From f5b033cd4ee66a2fe3123573478eedf5612ffb33 Mon Sep 17 00:00:00 2001 From: tadf Date: Sat, 16 Jun 2012 09:49:17 +0000 Subject: * 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 --- ext/date/date_strftime.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ext/date/date_strftime.c') 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; -- cgit v1.2.3