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