From: Edin Kadribasic Date: Fri, 1 Jul 2005 08:59:57 +0000 (+0000) Subject: Use timelib types. X-Git-Tag: php-5.1.0b3~231 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e70b3a94f40d450fbcd8796f997e35389d900cb4;p=php Use timelib types. (Fixes compilation on older Microsoft compilers) --- 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;