1
0
mirror of https://github.com/facebook/zstd.git synced 2025-03-06 16:56:49 +02:00

Fix compression on Big Endian CPUs

This commit is contained in:
Peter Harris 2015-12-01 14:58:24 -05:00
parent a2e5f7473d
commit f06e238d6f

View File

@ -620,7 +620,7 @@ static unsigned ZSTD_NbCommonBytes (register size_t val)
}
else /* Big Endian CPU */
{
if (MEM_32bits())
if (MEM_64bits())
{
# if defined(_MSC_VER) && defined(_WIN64)
unsigned long r = 0;