summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/date/php_date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index 12da3d3461..bc490bd76e 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -221,7 +221,7 @@ static char *php_format_date(char *format, int format_len, timelib_time *t, int
localtime ? abs((offset->offset % 3600) / 60) : 0
);
break;
- case 'U': snprintf(buffer, 32, "%lld", (long long) t->sse); break;
+ case 'U': snprintf(buffer, 32, "%lld", (timelib_sll) t->sse); break;
case '\\': if (i < format_len) i++; buffer[0] = format[i]; buffer[1] = '\0'; break;