mirror of
https://github.com/git/git.git
synced 2026-02-05 07:23:13 +00:00
Squelch warning about an integer overflow
We cannot rely on long integers to have more than 32 bits... Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -568,7 +568,7 @@ extern int git_lstat(const char *, struct stat *);
|
||||
#endif
|
||||
|
||||
#define DEFAULT_PACKED_GIT_LIMIT \
|
||||
((1024L * 1024L) * (sizeof(void*) >= 8 ? 8192 : 256))
|
||||
((1024L * 1024L) * (size_t)(sizeof(void*) >= 8 ? 8192 : 256))
|
||||
|
||||
#ifdef NO_PREAD
|
||||
#define pread git_pread
|
||||
|
||||
Reference in New Issue
Block a user