From: ehofman Date: Thu, 22 Sep 2005 13:43:09 +0000 (+0000) Subject: Platform compatibility fix. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5eb380e1031a13c1db6ddb00b54713a2d9c55cad;p=simgear.git Platform compatibility fix. --- diff --git a/simgear/misc/swap_test.cpp b/simgear/misc/swap_test.cpp index 2101d45b..d388568c 100644 --- a/simgear/misc/swap_test.cpp +++ b/simgear/misc/swap_test.cpp @@ -4,8 +4,8 @@ int main() { - uint16_t sui16, ui16 = 0x0123; - uint32_t sui32, ui32 = 0x01234567; + unsigned short sui16, ui16 = 0x0123; + unsigned int sui32, ui32 = 0x01234567; uint64_t sui64, ui64 = 0x0123456789ABCDEFLL; sui16 = ui16; sgEndianSwap(&sui16);