Hi Erik, Erik Hofman wrote:
Secondly I've updated the code to use the ulEndianSwap() function instead of defining our own (my system doesn't even define byteswap.h).
There's something really odd with byteswapping. Using your modified version does not work. Using my own byteswap functions does not work. Using byteswap.h (ie. remove both bswap-functions and "#include <byteswap.h> instead) does work. So far I did not find out what it is. I guess it is some compiler side (implicit) type conversion or something. Or I do something really stupid.
regards, Oliver _______________________________________________ Flightgear-devel mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
