From 5eb380e1031a13c1db6ddb00b54713a2d9c55cad Mon Sep 17 00:00:00 2001 From: ehofman Date: Thu, 22 Sep 2005 13:43:09 +0000 Subject: [PATCH] Platform compatibility fix. --- simgear/misc/swap_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5