mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* array.c, bignum.c, dln.c, error.c, gc.c, io.c, marshal.c,
numeric.c, pack.c, strftime.c, string.c, thread.c, transcode.c, transcode_data.h, util.c, variable.c, vm_dump.c, include/ruby/encoding.h, missing/crypt.c, missing/vsnprintf.c: suppress VC type warnings. [ruby-core:22726] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
080525aa68
commit
d1abc53721
21 changed files with 132 additions and 121 deletions
|
@ -515,7 +515,7 @@ rb_strftime(char *s, size_t maxsize, const char *format, const struct tm *timept
|
|||
time_t now;
|
||||
time(&now);
|
||||
utc = *gmtime(&now);
|
||||
off = (now - mktime(&utc)) / 60;
|
||||
off = (long)((now - mktime(&utc)) / 60);
|
||||
}
|
||||
#endif
|
||||
#endif /* !HAVE_VAR_TIMEZONE */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue