From eaf1121b7ea8cc537f1c36fc8e996705fabac6f4 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Thu, 14 May 2009 12:36:19 +0000 Subject: [PATCH] MFB: Fixed\ compiler\ warnings --- ext/xmlrpc/xmlrpc-epi-php.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/xmlrpc/xmlrpc-epi-php.c b/ext/xmlrpc/xmlrpc-epi-php.c index 482781e998..ee0a08a6cd 100644 --- a/ext/xmlrpc/xmlrpc-epi-php.c +++ b/ext/xmlrpc/xmlrpc-epi-php.c @@ -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 @@ int set_zval_xmlrpc_type(zval* value, XMLRPC_VALUE_TYPE newtype) 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; -- 2.50.1