mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
3c3e659196
commit
ed720d5505
1 changed files with 2 additions and 1 deletions
|
@ -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};
|
||||
|
|
Loading…
Reference in a new issue