From ce27e8520910e86e7005ffd35a73c151ecfad882 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Wed, 11 May 2016 18:55:27 +0200 Subject: [PATCH] fixed clang conversion warning --- lib/common/mem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common/mem.h b/lib/common/mem.h index 5cf75e93..5abd83d1 100644 --- a/lib/common/mem.h +++ b/lib/common/mem.h @@ -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 ===*/