fixed clang warning

This commit is contained in:
Yann Collet 2015-11-03 10:52:14 +01:00
parent 588d1e5fa0
commit cdc2b2f758

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) : 8ULL GB;
static const size_t maxMemory = sizeof(size_t)==4 ? (2 GB - 64 MB) : (size_t)(8ULL GB);
#define DEFAULT_CHUNKSIZE (4 MB)
static U32 g_compressibilityDefault = 50;