diff options
author | ryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-20 23:59:35 +0000 |
---|---|---|
committer | ryan <ryan@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-08-20 23:59:35 +0000 |
commit | ed720d55054c1c7167cd3da97b683e868351f9b8 (patch) | |
tree | b6957dda745b6508958393b00e4a6cf822eb0439 /ext | |
parent | 3c3e659196b7511f02b03e2904c40a29993a184c (diff) | |
download | ruby-ed720d55054c1c7167cd3da97b683e868351f9b8.tar.gz |
Fixed warning for implicit conversion from size_t to int
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/date/date_strftime.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/date/date_strftime.c b/ext/date/date_strftime.c index 13072962a2..54324dad09 100644 --- a/ext/date/date_strftime.c +++ b/ext/date/date_strftime.c @@ -53,7 +53,8 @@ date_strftime_with_tmx(char *s, size_t maxsize, const char *format, auto char tbuf[100]; ptrdiff_t i; int v, w; - int precision, flags, colons; + size_t colons; + int precision, flags; char padding; /* LOCALE_[OE] and COLONS are actually modifiers, not flags */ enum {LEFT, CHCASE, LOWER, UPPER, LOCALE_O, LOCALE_E, COLONS}; |