From 62dfc45bb28ae99927ad2ae91f5d6293ff13d5c6 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 25 Sep 2011 07:42:38 +0000 Subject: suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/date/date_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/date/date_core.c b/ext/date/date_core.c index 251d025b12..ad9bc29a86 100644 --- a/ext/date/date_core.c +++ b/ext/date/date_core.c @@ -2378,7 +2378,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; } } -- cgit v1.2.3