aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win32/mingw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/mingw.c b/win32/mingw.c
index a7540d220..dfe38734a 100644
--- a/win32/mingw.c
+++ b/win32/mingw.c
@@ -1936,7 +1936,7 @@ size_t mingw_strftime(char *buf, size_t max, const char *format, const struct tm
1936 } 1936 }
1937 else if ( t[1] == 's' ) { 1937 else if ( t[1] == 's' ) {
1938 tm2 = *tm; 1938 tm2 = *tm;
1939 sprintf(buffer, "%d", (int)mktime(&tm2)); 1939 sprintf(buffer, "%"LL_FMT"d", (long long)mktime(&tm2));
1940 replace = buffer; 1940 replace = buffer;
1941 } 1941 }
1942 else if ( t[1] == 'T' ) { 1942 else if ( t[1] == 'T' ) {