From 29fa978b8fe706dbbc734adb6cda9fb835d08af3 Mon Sep 17 00:00:00 2001 From: Mark Liversedge Date: Mon, 23 May 2011 20:24:57 +0100 Subject: [PATCH] Fix Wko GPS parsing on 64bit This bug recently fixed in v3 is also present in the v2 code. Fixes #214. --- src/WkoRideFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WkoRideFile.cpp b/src/WkoRideFile.cpp index dd66c154d..e140fb07e 100644 --- a/src/WkoRideFile.cpp +++ b/src/WkoRideFile.cpp @@ -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