fixed Visual warning

This commit is contained in:
Yann Collet 2015-11-03 13:10:25 +01:00
parent cdc2b2f758
commit 293d0cc261

View File

@ -83,7 +83,7 @@
#define MB *(1 <<20)
#define GB *(1U<<30)
static const size_t maxMemory = sizeof(size_t)==4 ? (2 GB - 64 MB) : (size_t)(8ULL GB);
static const size_t maxMemory = sizeof(size_t)==4 ? (2 GB - 64 MB) : (size_t)(1ULL << (sizeof(size_t)*8-31));
#define DEFAULT_CHUNKSIZE (4 MB)
static U32 g_compressibilityDefault = 50;