summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorDuane Bailey <nayryeliab@gmail.com>2005-09-17 17:20:15 +0000
committerDuane Bailey <nayryeliab@gmail.com>2005-09-17 17:20:15 +0000
commit5cc40aed713f6028656fd35ed710d351fcf1a347 (patch)
treea967fc14d97e2f3567ec0827cbfadb257f4181d4 /src/net
parentdb1f671668a615c5e1a4f48009708407bbac8d8c (diff)
downloadmana-client-5cc40aed713f6028656fd35ed710d351fcf1a347.tar.gz
mana-client-5cc40aed713f6028656fd35ed710d351fcf1a347.tar.bz2
mana-client-5cc40aed713f6028656fd35ed710d351fcf1a347.tar.xz
mana-client-5cc40aed713f6028656fd35ed710d351fcf1a347.zip
2005-09-17 Duane Bailey nayryeliab@gmail.com
* game.h: fixed bugs created by matt * messageout.h: fixed bug concering expand arguments * mesageout.cpp: adding include to win2mac.h and commented out SDL_net include; caused bugs on macs
Diffstat (limited to 'src/net')
-rw-r--r--src/net/messageout.cpp3
-rw-r--r--src/net/messageout.h2
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. */