fix datatype mismatch

This commit is contained in:
Anatol Belski 2014-10-27 18:49:15 +01:00
parent 5ac84a5a47
commit e048426402

View File

@ -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)) {