I get a compiler type cast error without this (or equivalent). cvs diff: Diffing . cvs diff: Diffing simgear cvs diff: Diffing simgear/bucket cvs diff: Diffing simgear/compatibility cvs diff: Diffing simgear/compatibility/MIPSpro721 cvs diff: Diffing simgear/compatibility/MIPSpro740 cvs diff: Diffing simgear/debug cvs diff: Diffing simgear/environment cvs diff: Diffing simgear/ephemeris cvs diff: Diffing simgear/io Index: simgear/io/lowtest.cxx =================================================================== RCS file: /var/cvs/SimGear-0.3/source/simgear/io/lowtest.cxx,v retrieving revision 1.2 diff -c -r1.2 lowtest.cxx *** simgear/io/lowtest.cxx 31 Dec 2002 14:47:35 -0000 1.2 --- simgear/io/lowtest.cxx 21 Sep 2005 03:07:49 -0000 *************** *** 39,46 **** double x = 1111111111; cout << "double x = " << x << endl; ! sgEndianSwap((unsigned long long *)&x); cout << "double x = " << x << endl; ! sgEndianSwap((unsigned long long *)&x); cout << "double x = " << x << endl; } --- 39,46 ---- double x = 1111111111; cout << "double x = " << x << endl; ! sgEndianSwap((uint64_t *)&x); cout << "double x = " << x << endl; ! sgEndianSwap((uint64_t *)&x); cout << "double x = " << x << endl; } cvs diff: Diffing simgear/magvar cvs diff: Diffing simgear/math cvs diff: Diffing simgear/misc cvs diff: Diffing simgear/nasal cvs diff: Diffing simgear/props cvs diff: Diffing simgear/route cvs diff: Diffing simgear/scene cvs diff: Diffing simgear/scene/material cvs diff: Diffing simgear/scene/model cvs diff: Diffing simgear/scene/sky cvs diff: Diffing simgear/scene/sky/clouds3d cvs diff: Diffing simgear/scene/tgdb cvs diff: Diffing simgear/screen cvs diff: Diffing simgear/serial cvs diff: Diffing simgear/sound cvs diff: Diffing simgear/structure cvs diff: Diffing simgear/threads cvs diff: Diffing simgear/timing cvs diff: Diffing simgear/xgl cvs diff: Diffing simgear/xml cvs diff: Diffing src-libs
_______________________________________________ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d