diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2009-05-14 12:29:47 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2009-05-14 12:29:47 +0000 |
commit | c205eb51436aa84c83e8925da679b825eca6cc2b (patch) | |
tree | 61f7f25706ac1db0034ee6062b74a1e0c6c03c5e /ext/xmlrpc | |
parent | 2f8ca07d18f4e3a6fb08ddd6b7fb92e0d94c0018 (diff) | |
download | php-git-c205eb51436aa84c83e8925da679b825eca6cc2b.tar.gz |
Fixed compiler warnings
Diffstat (limited to 'ext/xmlrpc')
-rw-r--r-- | ext/xmlrpc/xmlrpc-epi-php.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/xmlrpc/xmlrpc-epi-php.c b/ext/xmlrpc/xmlrpc-epi-php.c index b26c13cd98..7f8b5813cb 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" @@ -1344,7 +1345,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; |