Fix Windows compile warnings.

This commit is contained in:
Jonathan Naylor 2018-11-06 20:44:59 +00:00
parent e847711d17
commit 9444ecad16

View file

@ -93,8 +93,8 @@ void CMobileGPS::sendReport()
if (pLatitude == NULL || pLongitude == NULL) if (pLatitude == NULL || pLongitude == NULL)
return; return;
float latitude = ::atof(pLatitude); float latitude = float(::atof(pLatitude));
float longitude = ::atof(pLongitude); float longitude = float(::atof(pLongitude));
m_network->writeHomePosition(latitude, longitude); m_network->writeHomePosition(latitude, longitude);
} }