diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-31 03:44:57 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-31 03:44:57 +0000 |
commit | 48de1e292a4f65840f01d31c5f8607f6b585057d (patch) | |
tree | 29af77d2e1dd1c8e44e522ac84847ab4de84afa1 /time.c | |
parent | f83d4b17804f11a78a8c6f877543a7c55b734dd2 (diff) | |
download | ruby-48de1e292a4f65840f01d31c5f8607f6b585057d.tar.gz |
* addr2line.c: suppressed shorten-64-to-32 warnings.
* regcomp.c: ditto.
* regexec.c: ditto.
* regint.h: ditto.
* regparse.c: ditto.
* regparse.h: ditto.
* time.c: ditto.
* variable.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -885,8 +885,8 @@ rb_localtime_r2(const time_t *t, struct tm *result) result = rb_localtime_r(t, result); #if defined(HAVE_MKTIME) && defined(LOCALTIME_OVERFLOW_PROBLEM) if (result) { - int gmtoff1 = 0; - int gmtoff2 = 0; + long gmtoff1 = 0; + long gmtoff2 = 0; struct tm tmp = *result; time_t t2; # if defined(HAVE_STRUCT_TM_TM_GMTOFF) |