edink Fri Jul 1 04:59:59 2005 EDT
Modified files:
/php-src/ext/date php_date.c
Log:
Use timelib types.
(Fixes compilation on older Microsoft compilers)
http://cvs.php.net/diff.php/php-src/ext/date/php_date.c?r1=1.18&r2=1.19&ty=u
Index: php-src/ext/date/php_date.c
diff -u php-src/ext/date/php_date.c:1.18 php-src/ext/date/php_date.c:1.19
--- php-src/ext/date/php_date.c:1.18 Thu Jun 30 19:33:37 2005
+++ php-src/ext/date/php_date.c Fri Jul 1 04:59:57 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_date.c,v 1.18 2005/06/30 23:33:37 iliaa Exp $ */
+/* $Id: php_date.c,v 1.19 2005/07/01 08:59:57 edink Exp $ */
#include "php.h"
#include "php_streams.h"
@@ -221,7 +221,7 @@
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;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php