fixed g++ warning

This commit is contained in:
Yann Collet 2015-12-12 12:44:44 +01:00
parent 3a061a4c9f
commit 188b6ed6c7

View File

@ -373,7 +373,7 @@ size_t ZBUFF_decompressInit(ZBUFF_DCtx* zbc)
size_t ZBUFF_decompressWithDictionary(ZBUFF_DCtx* zbc, const void* src, size_t srcSize)
{
zbc->dict = src;
zbc->dict = (const char*)src;
zbc->dictSize = srcSize;
return 0;
}