summarylogtreecommitdiffstats
path: root/array-size.patch
diff options
context:
space:
mode:
authorAndrew Rembrandt2016-12-14 16:59:38 +0000
committerAndrew Rembrandt2016-12-14 16:59:38 +0000
commitf6712baca3814b343ccddc8254213011a5ac75c1 (patch)
tree0e1440e7c3f6d6e1f6bdbacd562aef215809a6d7 /array-size.patch
downloadaur-garmintools.tar.gz
Recreated garmintools package from archive
Diffstat (limited to 'array-size.patch')
-rw-r--r--array-size.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/array-size.patch b/array-size.patch
new file mode 100644
index 000000000000..e74b0f23b819
--- /dev/null
+++ b/array-size.patch
@@ -0,0 +1,13 @@
+Index: src/garmin.h
+===================================================================
+--- src/garmin.h (revision 27)
++++ src/garmin.h (working copy)
+@@ -1509,7 +1509,7 @@
+ 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;