Commit:    607f97cefaa852ae3f33d77ee6ad040047f1394b
Author:    Anatol Belski <a...@php.net>         Thu, 21 Nov 2013 15:08:39 +0100
Parents:   51003463ef0c67ff83e40cbbc66464c86a7e0feb
Branches:  str_size_and_int64

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=607f97cefaa852ae3f33d77ee6ad040047f1394b

Log:
fixed libxml

Changed paths:
  M  ext/libxml/libxml.c


Diff:
diff --git a/ext/libxml/libxml.c b/ext/libxml/libxml.c
index 05b8df4..418ec11 100644
--- a/ext/libxml/libxml.c
+++ b/ext/libxml/libxml.c
@@ -88,7 +88,7 @@ static PHP_MINIT_FUNCTION(libxml);
 static PHP_RINIT_FUNCTION(libxml);
 static PHP_MSHUTDOWN_FUNCTION(libxml);
 static PHP_MINFO_FUNCTION(libxml);
-static int php_libxml_post_deactivate();
+static int php_libxml_post_deactivate(void);
 
 /* }}} */
 
@@ -356,13 +356,13 @@ static void 
*php_libxml_streams_IO_open_write_wrapper(const char *filename)
 static int php_libxml_streams_IO_read(void *context, char *buffer, int len)
 {
        TSRMLS_FETCH();
-       return php_stream_read((php_stream*)context, buffer, len);
+       return (int)php_stream_read((php_stream*)context, buffer, len);
 }
 
 static int php_libxml_streams_IO_write(void *context, const char *buffer, int 
len)
 {
        TSRMLS_FETCH();
-       return php_stream_write((php_stream*)context, buffer, len);
+       return (int)php_stream_write((php_stream*)context, buffer, len);
 }
 
 static int php_libxml_streams_IO_close(void *context)
@@ -515,7 +515,7 @@ void php_libxml_issue_error(int level, const char *msg 
TSRMLS_DC)
 static void php_libxml_internal_error_handler(int error_type, void *ctx, const 
char **msg, va_list ap)
 {
        char *buf;
-       int len, len_iter, output = 0;
+       zend_str_size_int len, len_iter, output = 0;
 
        TSRMLS_FETCH();
 
@@ -876,7 +876,7 @@ static PHP_MSHUTDOWN_FUNCTION(libxml)
        return SUCCESS;
 }
 
-static int php_libxml_post_deactivate()
+static int php_libxml_post_deactivate(void)
 {
        TSRMLS_FETCH();
        /* reset libxml generic error handling */


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

Reply via email to