--- a/src/windows/strptime.cpp
+++ b/src/windows/strptime.cpp
@@ -38,7 +38,7 @@
case 'A': // weekday name
tm->tm_wday = -1;
working = false;
- for (size_t i = 0; i < 7; ++i)
+ for (int i = 0; i < 7; ++i)
{
size_t len = strlen(strp_weekdays[i]);
if (!strnicmp(strp_weekdays[i], s, len))
@@ -62,7 +62,7 @@
case 'h': // month name
tm->tm_mon = -1;
working = false;
- for (size_t i = 0; i < 12; ++i)
+ for (int i = 0; i < 12; ++i)
{
size_t len = strlen(strp_monthnames[i]);
if (!strnicmp(strp_monthnames[i], s, len))
@@ -252,4 +252,4 @@
}
return (working ? (char *)s : 0);
}
-#endif // _MSC_VER+#endif // _MSC_VER