]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/swap_test.cpp
temporarily remove listener (viewer) and source offsets. they mess things up
[simgear.git] / simgear / misc / swap_test.cpp
index d388568c149dfbe5fdcde8a4696bdbab6c989e41..2101d45b731eaf7bbc246b4285764bdd4e7b3346 100644 (file)
@@ -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);