mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-07 23:19:28 +00:00
git_pool_mallocsz takes an unsigned long
This commit is contained in:
parent
6e94a1efbc
commit
f5dd2a2891
@ -53,7 +53,7 @@ int git_attr_cache__alloc_file_entry(
|
||||
cachesize++;
|
||||
}
|
||||
|
||||
ce = git_pool_mallocz(pool, cachesize);
|
||||
ce = git_pool_mallocz(pool, (uint32_t)cachesize);
|
||||
GITERR_CHECK_ALLOC(ce);
|
||||
|
||||
if (baselen) {
|
||||
|
Loading…
Reference in New Issue
Block a user