[Positioning] Fix accesspoint reading frequency
Change long to unsigned long in accesspointsreadercsv.cc. The frequency value exceed a long lenght in arch 32bits.
This commit is contained in:
parent
bd8d761bdc
commit
8d2a2b3e5a
|
@ -38,7 +38,7 @@ void AccessPointsReaderCSV::process_access_point_line()
|
|||
if (! file.read_point3d(coord))
|
||||
throw malformed_input_data("Cannot read access point coordinates!") ;
|
||||
|
||||
long frequency ;
|
||||
unsigned long frequency ;
|
||||
if (! file.read_field(frequency))
|
||||
throw malformed_input_data("Cannot read access point frequency!") ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue