]> granicus.if.org Git - php/commitdiff
Fixed compiler warning
authorIlia Alshanetsky <iliaa@php.net>
Mon, 17 Jan 2011 13:44:54 +0000 (13:44 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 17 Jan 2011 13:44:54 +0000 (13:44 +0000)
ext/standard/php_fopen_wrapper.c

index 3c054e2d286b9e762dad385c56686835bca95547..7e30a8ea46c81b1b46dd44a5566b9bb7bb02fd7a 100644 (file)
@@ -286,7 +286,7 @@ php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, ch
                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;
                }