summaryrefslogtreecommitdiff
path: root/ext/date
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date')
-rw-r--r--ext/date/date_strftime.c3
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};