Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > a58f7323360b7c8574f88780239a4f8c > files > 3

garmintools-0.10-6.mga5.src.rpm

diff -Naurp garmintools-0.10/src/garmin.h garmintools-0.10.oden/src/garmin.h
--- garmintools-0.10/src/garmin.h	2009-03-26 03:38:50.000000000 +0100
+++ garmintools-0.10.oden/src/garmin.h	2015-03-31 14:42:28.507977006 +0200
@@ -1509,7 +1509,7 @@ typedef union garmin_packet {
     uint8            reserved4;
     uint8            reserved5;
     uint8            size[4];      /*  bytes 8-11  */
-    uint8            data[1];      /*  bytes 12+   */
+    uint8            data[1012];      /*  bytes 12+   */
   }                  packet;
   char               data[1024];
 } garmin_packet;