iliaa           Thu May 14 12:36:19 2009 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/xmlrpc xmlrpc-epi-php.c 
  Log:
  
  MFB: Fixed\ compiler\ warnings
  
http://cvs.php.net/viewvc.cgi/php-src/ext/xmlrpc/xmlrpc-epi-php.c?r1=1.39.2.5.2.15&r2=1.39.2.5.2.16&diff_format=u
Index: php-src/ext/xmlrpc/xmlrpc-epi-php.c
diff -u php-src/ext/xmlrpc/xmlrpc-epi-php.c:1.39.2.5.2.15 
php-src/ext/xmlrpc/xmlrpc-epi-php.c:1.39.2.5.2.16
--- php-src/ext/xmlrpc/xmlrpc-epi-php.c:1.39.2.5.2.15   Wed May 13 14:25:58 2009
+++ php-src/ext/xmlrpc/xmlrpc-epi-php.c Thu May 14 12:36:19 2009
@@ -51,7 +51,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: xmlrpc-epi-php.c,v 1.39.2.5.2.15 2009/05/13 14:25:58 iliaa Exp $ */
+/* $Id: xmlrpc-epi-php.c,v 1.39.2.5.2.16 2009/05/14 12:36:19 iliaa Exp $ */
 
 /**********************************************************************
 * BUGS:                                                               *
@@ -67,6 +67,7 @@
 
 #include "php.h"
 #include "ext/standard/info.h"
+#include "ext/date/php_date.h"
 #include "php_ini.h"
 #include "php_xmlrpc.h"
 #include "xmlrpc.h"
@@ -1300,7 +1301,7 @@
                        if(newtype == xmlrpc_datetime) {
                                XMLRPC_VALUE v = 
XMLRPC_CreateValueDateTime_ISO8601(NULL, value->value.str.val);
                                if(v) {
-                                       time_t timestamp = (time_t) 
php_parse_date(XMLRPC_GetValueDateTime_ISO8601(v), NULL);
+                                       time_t timestamp = (time_t) 
php_parse_date((char *)XMLRPC_GetValueDateTime_ISO8601(v), NULL);
                                        if(timestamp) {
                                                zval* ztimestamp;
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to