summaryrefslogtreecommitdiff
blob: e1530337a2597c6375e9be424c25ff581db11b90 (plain)
1
2
3
4
5
6
7
8
9
10
11
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,