mikalhart / TinyGPS

A compact Arduino NMEA (GPS) parsing library
http://arduiniana.org
384 stars 255 forks source link

Strange conversion issue ? #26

Open vpapanik opened 1 year ago

vpapanik commented 1 year ago

If I specify

int32_t lat,lng

instead of

long lat,lng

I get

error: invalid conversion from 'int32_t*' {aka 'int*'} to 'long int*' [-fpermissive]

same with age: it does not accept uint32_tbut only unsigned long

tried all other variants (uint16_t, int16_t etc), nothing works. It specifically needs long and unsigned long.