diff options
Diffstat (limited to 'games-strategy/warmux/files/warmux-11.04.1-action.patch')
-rw-r--r-- | games-strategy/warmux/files/warmux-11.04.1-action.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/games-strategy/warmux/files/warmux-11.04.1-action.patch b/games-strategy/warmux/files/warmux-11.04.1-action.patch new file mode 100644 index 000000000000..e1530337a259 --- /dev/null +++ b/games-strategy/warmux/files/warmux-11.04.1-action.patch @@ -0,0 +1,12 @@ +diff -uNr warmux-11.04.orig/lib/warmux/action/action.cpp warmux-11.04/lib/warmux/action/action.cpp
+--- warmux-11.04.orig/lib/warmux/action/action.cpp 2012-03-27 15:18:08.440709875 +0200
++++ warmux-11.04/lib/warmux/action/action.cpp 2012-03-27 15:17:44.871711354 +0200
+@@ -85,7 +85,7 @@
+ {
+ m_creator = _creator;
+
+- m_header.len = SDLNet_Read32(buffer);
++ m_header.len = SDLNet_Read32((void *)buffer);
+ ASSERT(m_header.len >= sizeof(Header));
+ buffer += 4;
+ // All of the following could be skipped for the actions we now,
\ No newline at end of file |