Fix Wko GPS parsing on 64bit

This bug recently fixed in v3 is also present in the
v2 code.

Fixes #214.
This commit is contained in:
Mark Liversedge
2011-05-23 20:24:57 +01:00
parent 1fbaeae611
commit 29fa978b8f

View File

@@ -363,7 +363,7 @@ WKO_UCHAR *WkoParseRawData(WKO_UCHAR *fb, RideFile *rideFile, QStringList &error
break;
case 'G' : /* two longs */
{
signed long llat, llon;
int32_t llat, llon;
char slat[20], slon[20];
// stored 2s complement