mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
fix datatype mismatch
This commit is contained in:
parent
5ac84a5a47
commit
e048426402
@ -742,7 +742,7 @@ globextend(path, pglob, limitp)
|
|||||||
|
|
||||||
for (p = path; *p++;)
|
for (p = path; *p++;)
|
||||||
;
|
;
|
||||||
len = (size_t)(p - path);
|
len = (u_int)(p - path);
|
||||||
*limitp += len;
|
*limitp += len;
|
||||||
if ((copy = malloc(len)) != NULL) {
|
if ((copy = malloc(len)) != NULL) {
|
||||||
if (g_Ctoc(path, copy, len)) {
|
if (g_Ctoc(path, copy, len)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user