summarylogtreecommitdiffstats
path: root/fix-gp32tools.patch
blob: 79efe85f8c5ec82203c8dfc8f49057c719d234fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
diff -Naur gp32tools-1.0.1.old/src/b2fxec/compress_fxe0.cpp gp32tools-1.0.1/src/b2fxec/compress_fxe0.cpp
--- gp32tools-1.0.1.old/src/b2fxec/compress_fxe0.cpp	2014-12-22 00:56:00.000000000 +0100
+++ gp32tools-1.0.1/src/b2fxec/compress_fxe0.cpp	2016-10-30 22:18:41.015165705 +0100
@@ -22,8 +22,8 @@
   // Sort into descending order..
 
   int litcomp( const void* a, const void* b ) {
-    return reinterpret_cast<const literals*>(b)->count -
-           reinterpret_cast<const literals*>(a)->count;
+    return reinterpret_cast<const struct literals*>(b)->count -
+           reinterpret_cast<const struct literals*>(a)->count;
   }
 };
 
diff -Naur gp32tools-1.0.1.old/src/b2fxec/compress_fxe2.cpp gp32tools-1.0.1/src/b2fxec/compress_fxe2.cpp
--- gp32tools-1.0.1.old/src/b2fxec/compress_fxe2.cpp	2014-12-22 00:56:00.000000000 +0100
+++ gp32tools-1.0.1/src/b2fxec/compress_fxe2.cpp	2016-10-30 22:18:28.351643844 +0100
@@ -23,8 +23,8 @@
   // Sort into descending order..
 
   int litcomp( const void* a, const void* b ) {
-    return reinterpret_cast<const literals*>(b)->count -
-           reinterpret_cast<const literals*>(a)->count;
+    return reinterpret_cast<const struct literals*>(b)->count -
+           reinterpret_cast<const struct literals*>(a)->count;
   }
 };
 
diff -Naur gp32tools-1.0.1.old/src/b2fxec/compress_fxe3.cpp gp32tools-1.0.1/src/b2fxec/compress_fxe3.cpp
--- gp32tools-1.0.1.old/src/b2fxec/compress_fxe3.cpp	2014-12-22 00:56:00.000000000 +0100
+++ gp32tools-1.0.1/src/b2fxec/compress_fxe3.cpp	2016-10-30 22:18:12.824746032 +0100
@@ -23,8 +23,8 @@
   // Sort into descending order..
 
   int litcomp( const void* a, const void* b ) {
-    return reinterpret_cast<const literals*>(b)->count -
-           reinterpret_cast<const literals*>(a)->count;
+    return reinterpret_cast<const struct literals*>(b)->count -
+           reinterpret_cast<const struct literals*>(a)->count;
   }
 };