com php-src: fix datatype mismatch warning: Zend/zend_virtual _cwd.c
| From: | Anatol Belski | Date: | Fri, 31 Oct 2014 18:36:19 +0000 |
| Subject: | com php-src: fix datatype mismatch warning: Zend/zend_virtual _cwd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82923@lists.php.net to get a copy of this message | ||
Commit: cd574ca4677a101a51636cda26660fe2b74e3fa1
Author: Anatol Belski <ab@php.net> Fri, 31 Oct 2014 18:46:38 +0100
Parents: a6ebaa142e9f2d184b5a64653ce9f2d19092b56f
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=cd574ca4677a101a51636cda26660fe2b74e3fa1
Log:
fix datatype mismatch warning
Changed paths:
M Zend/zend_virtual_cwd.c
Diff:
diff --git a/Zend/zend_virtual_cwd.c b/Zend/zend_virtual_cwd.c
index e340989..385df39 100644
--- a/Zend/zend_virtual_cwd.c
+++ b/Zend/zend_virtual_cwd.c
@@ -1394,7 +1394,7 @@ CWD_API int virtual_chdir(const char *path TSRMLS_DC) /* {{{ */
CWD_API int virtual_chdir_file(const char *path, int (*p_chdir)(const char *path TSRMLS_DC)
TSRMLS_DC) /* {{{ */
{
- int length = strlen(path);
+ int length = (int)strlen(path);
char *temp;
int retval;
ALLOCA_FLAG(use_heap)