com php-src: fix datatype mismatches: Zend/zend_virtual_cwd .c
| From: | Anatol Belski | Date: | Tue, 18 Nov 2014 12:19:49 +0000 |
| Subject: | com php-src: fix datatype mismatches: Zend/zend_virtual_cwd .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83138@lists.php.net to get a copy of this message | ||
Commit: fb6c3d3cf54b40caa8860d1f8d5577c26d4a6e89
Author: Anatol Belski <ab@php.net> Tue, 18 Nov 2014 11:49:06 +0100
Parents: 7c5ae9a1cf3e65afadb4ba3cf50a0690e7d4d27d
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fb6c3d3cf54b40caa8860d1f8d5577c26d4a6e89
Log:
fix datatype mismatches
Changed paths:
M Zend/zend_virtual_cwd.c
Diff:
diff --git a/Zend/zend_virtual_cwd.c b/Zend/zend_virtual_cwd.c
index f8b42b1..509b33e 100644
--- a/Zend/zend_virtual_cwd.c
+++ b/Zend/zend_virtual_cwd.c
@@ -347,7 +347,7 @@ CWD_API int php_sys_stat_ex(const char *path, zend_stat_t *buf, int lstat) /* {{
/* File is a reparse point. Get the target */
HANDLE hLink = NULL;
REPARSE_DATA_BUFFER * pbuffer;
- unsigned int retlength = 0;
+ DWORD retlength = 0;
hLink = CreateFile(path, GENERIC_READ, 0, NULL, OPEN_EXISTING,
FILE_FLAG_OPEN_REPARSE_POINT|FILE_FLAG_BACKUP_SEMANTICS, NULL);
if(hLink == INVALID_HANDLE_VALUE) {
@@ -898,7 +898,7 @@ static int tsrm_realpath_r(char *path, int start, int len, int *ll, time_t *t, i
/* File is a reparse point. Get the target */
HANDLE hLink = NULL;
REPARSE_DATA_BUFFER * pbuffer;
- unsigned int retlength = 0;
+ DWORD retlength = 0;
int bufindex = 0, isabsolute = 0;
wchar_t * reparsetarget;
BOOL isVolume = FALSE;