From e70b3a94f40d450fbcd8796f997e35389d900cb4 Mon Sep 17 00:00:00 2001 From: Edin Kadribasic Date: Fri, 1 Jul 2005 08:59:57 +0000 Subject: [PATCH] Use timelib types. (Fixes compilation on older Microsoft compilers) --- ext/date/php_date.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.1