summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-10-27 18:49:15 +0100
committerAnatol Belski <ab@php.net>2014-10-28 17:24:53 +0100
commite048426402aa81c3b45473aa71c9bf8b9eee1a6f (patch)
tree8eaff6a31100fb318fee4d9144abeaefea2290b0 /win32
parent5ac84a5a47481af86d5318d412d44817a1eee524 (diff)
downloadphp-git-e048426402aa81c3b45473aa71c9bf8b9eee1a6f.tar.gz
fix datatype mismatch
Diffstat (limited to 'win32')
-rw-r--r--win32/glob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/glob.c b/win32/glob.c
index 74882ac7d6..43884509ce 100644
--- a/win32/glob.c
+++ b/win32/glob.c
@@ -742,7 +742,7 @@ globextend(path, pglob, limitp)
for (p = path; *p++;)
;
- len = (size_t)(p - path);
+ len = (u_int)(p - path);
*limitp += len;
if ((copy = malloc(len)) != NULL) {
if (g_Ctoc(path, copy, len)) {