From 9636a56af0cee681fc424201d0987c4cf6000c7a Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Wed, 10 Jul 2013 10:30:55 +0200 Subject: [PATCH] Fixed call to sin/cos. --- src/comm/QGCXPlaneLink.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/comm/QGCXPlaneLink.cc b/src/comm/QGCXPlaneLink.cc index 404f587..b96046b 100644 --- a/src/comm/QGCXPlaneLink.cc +++ b/src/comm/QGCXPlaneLink.cc @@ -554,8 +554,8 @@ void QGCXPlaneLink::readBytes() double sinPhi = sin(roll); double cosThe = cos(pitch); double sinThe = sin(pitch); - double cosPsi = cos(0); - double sinPsi = sin(0); + double cosPsi = cos(0.0); + double sinPsi = sin(0.0); float dcm[3][3];