]> git.mxchange.org Git - simgear.git/commitdiff
Platform compatibility fix.
authorehofman <ehofman>
Thu, 22 Sep 2005 13:43:09 +0000 (13:43 +0000)
committerehofman <ehofman>
Thu, 22 Sep 2005 13:43:09 +0000 (13:43 +0000)
simgear/misc/swap_test.cpp

index 2101d45b731eaf7bbc246b4285764bdd4e7b3346..d388568c149dfbe5fdcde8a4696bdbab6c989e41 100644 (file)
@@ -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);