diff options
Diffstat (limited to 'fix-gp32tools.patch')
-rw-r--r-- | fix-gp32tools.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/fix-gp32tools.patch b/fix-gp32tools.patch new file mode 100644 index 000000000000..79efe85f8c5e --- /dev/null +++ b/fix-gp32tools.patch @@ -0,0 +1,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; + } + }; + |