--- FreeImage/Source/Utilities.h Mon Apr 11 15:15:32 2016 +++ FreeImage/Source/Utilities_.h Tue May 24 10:50:11 2022 @@ -446,12 +446,12 @@ } inline void -SwapInt64(UINT64 *arg) { +SwapInt64(uint64_t *arg) { #if defined(_MSC_VER) && _MSC_VER >= 1310 *arg = _byteswap_uint64(*arg); #else union Swap { - UINT64 sv; + uint64_t sv; DWORD ul[2]; } tmp, result; tmp.sv = *arg;