mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-20 22:45:44 +08:00
Fix Windows compile warnings.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user