mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-09 08:23:52 +00:00
Fix Windows compile warnings.
This commit is contained in:
parent
e847711d17
commit
9444ecad16
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue