From ed720d55054c1c7167cd3da97b683e868351f9b8 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 20 Aug 2012 23:59:35 +0000 Subject: 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 --- ext/date/date_strftime.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext/date/date_strftime.c') 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}; -- cgit v1.2.3