Fix Windows compile warnings.
This commit is contained in:
parent
e847711d17
commit
9444ecad16
|
@ -93,8 +93,8 @@ void CMobileGPS::sendReport()
|
|||
if (pLatitude == NULL || pLongitude == NULL)
|
||||
return;
|
||||
|
||||
float latitude = ::atof(pLatitude);
|
||||
float longitude = ::atof(pLongitude);
|
||||
float latitude = float(::atof(pLatitude));
|
||||
float longitude = float(::atof(pLongitude));
|
||||
|
||||
m_network->writeHomePosition(latitude, longitude);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue