From 8141bfe2dadcbd73caad3e3ee4498affc8b7fd4c Mon Sep 17 00:00:00 2001 From: ehofman Date: Thu, 2 Feb 2006 09:40:27 +0000 Subject: [PATCH] Prevent a warning. --- src/Instrumentation/dclgps.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Instrumentation/dclgps.cxx b/src/Instrumentation/dclgps.cxx index d4084136f..8d4cb0265 100644 --- a/src/Instrumentation/dclgps.cxx +++ b/src/Instrumentation/dclgps.cxx @@ -932,7 +932,7 @@ void DCLGPS::OBSPressed() { _obsMode = !_obsMode; if(_obsMode) { if(!_activeWaypoint.id.empty()) { - _obsHeading = _dtkMag; + _obsHeading = static_cast(_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.