disable cog-spur
[oi-userland.git] / components / library / FreeImage / patches / Utilities.h.patch
blob14b8c6aba16e85678261c817417dbda879957a57
1 --- FreeImage/Source/Utilities.h Mon Apr 11 15:15:32 2016
2 +++ FreeImage/Source/Utilities_.h Tue May 24 10:50:11 2022
3 @@ -446,12 +446,12 @@
6 inline void
7 -SwapInt64(UINT64 *arg) {
8 +SwapInt64(uint64_t *arg) {
9 #if defined(_MSC_VER) && _MSC_VER >= 1310
10 *arg = _byteswap_uint64(*arg);
11 #else
12 union Swap {
13 - UINT64 sv;
14 + uint64_t sv;
15 DWORD ul[2];
16 } tmp, result;
17 tmp.sv = *arg;