git_pool_mallocsz takes an unsigned long

This commit is contained in:
Jacques Germishuys 2014-04-27 15:00:00 +02:00
parent 6e94a1efbc
commit f5dd2a2891

View File

@ -53,7 +53,7 @@ int git_attr_cache__alloc_file_entry(
cachesize++; cachesize++;
} }
ce = git_pool_mallocz(pool, cachesize); ce = git_pool_mallocz(pool, (uint32_t)cachesize);
GITERR_CHECK_ALLOC(ce); GITERR_CHECK_ALLOC(ce);
if (baselen) { if (baselen) {