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:
parent
a2e5f7473d
commit
f06e238d6f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user