iliaa                                    Mon, 17 Jan 2011 13:44:54 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=307536

Log:
Fixed compiler warning

Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/standard/php_fopen_wrapper.c
    U   php/php-src/trunk/ext/standard/php_fopen_wrapper.c

Modified: php/php-src/branches/PHP_5_3/ext/standard/php_fopen_wrapper.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/php_fopen_wrapper.c       
2011-01-17 13:06:44 UTC (rev 307535)
+++ php/php-src/branches/PHP_5_3/ext/standard/php_fopen_wrapper.c       
2011-01-17 13:44:54 UTC (rev 307536)
@@ -286,7 +286,7 @@
                fd = dup(fildes_ori);
                if (fd == -1) {
                        php_stream_wrapper_log_error(wrapper, options TSRMLS_CC,
-                               "Error duping file descriptor %d; possibly it 
doesn't exist: "
+                               "Error duping file descriptor %ld; possibly it 
doesn't exist: "
                                "[%d]: %s", fildes_ori, errno, strerror(errno));
                        return NULL;
                }

Modified: php/php-src/trunk/ext/standard/php_fopen_wrapper.c
===================================================================
--- php/php-src/trunk/ext/standard/php_fopen_wrapper.c  2011-01-17 13:06:44 UTC 
(rev 307535)
+++ php/php-src/trunk/ext/standard/php_fopen_wrapper.c  2011-01-17 13:44:54 UTC 
(rev 307536)
@@ -286,7 +286,7 @@
                fd = dup(fildes_ori);
                if (fd == -1) {
                        php_stream_wrapper_log_error(wrapper, options TSRMLS_CC,
-                               "Error duping file descriptor %d; possibly it 
doesn't exist: "
+                               "Error duping file descriptor %ld; possibly it 
doesn't exist: "
                                "[%d]: %s", fildes_ori, errno, strerror(errno));
                        return NULL;
                }

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

Reply via email to