diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/messageout.cpp | 3 | ||||
-rw-r--r-- | src/net/messageout.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/net/messageout.cpp b/src/net/messageout.cpp index aa7f06c4..9c6527e0 100644 --- a/src/net/messageout.cpp +++ b/src/net/messageout.cpp @@ -24,7 +24,8 @@ #include "messageout.h" #include <string> -#include <SDL_net.h> +//#include <SDL_net.h> +#include "win2mac.h" #include "network.h" #include "packet.h" diff --git a/src/net/messageout.h b/src/net/messageout.h index a312cefe..1e6d75ff 100644 --- a/src/net/messageout.h +++ b/src/net/messageout.h @@ -73,7 +73,7 @@ class MessageOut * memory in advance instead of expanding size every time more data is * added. */ - void expand(unsigned int size); + void expand(size_t size); Packet *mPacket; /**< Created packet. */ char *mData; /**< Data building up. */ |