fixed clang conversion warning

This commit is contained in:
Yann Collet 2016-05-11 18:55:27 +02:00
parent 1032fbe714
commit ce27e85209

View File

@ -222,9 +222,9 @@ MEM_STATIC U64 MEM_swap64(U64 in)
MEM_STATIC size_t MEM_swapST(size_t in)
{
if (MEM_32bits())
return (size_t)MEM_swap32(in);
return (size_t)MEM_swap32((U32)in);
else
return (size_t)MEM_swap64(in);
return (size_t)MEM_swap64((U64)in);
}
/*=== Little endian r/w ===*/