mirror of
https://git.proxmox.com/git/libgit2
synced 2025-10-18 17:13:37 +00:00
Fix an integral overflow on 64-bit
This commit is contained in:
parent
1c3fac4d5e
commit
18136d8306
@ -35,7 +35,7 @@
|
||||
: 32 * 1024 * 1024)
|
||||
|
||||
#define DEFAULT_MAPPED_LIMIT \
|
||||
((1024L * 1024L) * (sizeof(void*) >= 8 ? 8192 : 256))
|
||||
((1024 * 1024) * (sizeof(void*) >= 8 ? 8192ULL : 256UL))
|
||||
|
||||
/*
|
||||
* We need this because each process is only allowed a specific amount
|
||||
|
Loading…
Reference in New Issue
Block a user