Below is a tiny minor patch doing a type cast to prevent a warning
during compilation of FG on my system.

Vassilii

Index: ../../FlightGear/source/src/Instrumentation/dclgps.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/src/Instrumentation/dclgps.cxx,v
retrieving revision 1.3
diff -u -p -r1.3 dclgps.cxx
--- ../../FlightGear/source/src/Instrumentation/dclgps.cxx      13 Jan 2006 
22:07:50 -0000      1.3
+++ ../../FlightGear/source/src/Instrumentation/dclgps.cxx      1 Feb 2006 
13:54:50 -0000
@@ -932,7 +932,7 @@ void DCLGPS::OBSPressed() {
        _obsMode = !_obsMode;
        if(_obsMode) {
                if(!_activeWaypoint.id.empty()) {
-                       _obsHeading = _dtkMag;
+                       _obsHeading = static_cast<int>(_dtkMag);
                }
                // TODO - the _fromWaypoint location will change as the OBS 
heading changes.
                // Might need to store the OBS initiation position somewhere in 
case it is needed again.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to