summaryrefslogtreecommitdiff
path: root/source/mvd_parse.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-02-17 22:53:39 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-02-17 22:53:39 +0000
commit4034314816f7ec9e26c9b9bfc2630c8ca0a24874 (patch)
treed48be98832d2d9cb977540541fae1acb1859142b /source/mvd_parse.c
parenta5afaf65af8ef50d1ce8bbd9e2133239013c26f7 (diff)
Huge search and replace commit.
Use fixed size integer types from stdint.h instead of custom defined ones. Get endianess infromation form endian.h. Added `remotemode' console command. Link with -ldl only on Linux.
Diffstat (limited to 'source/mvd_parse.c')
-rw-r--r--source/mvd_parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/mvd_parse.c b/source/mvd_parse.c
index a9a0fc6..505ff6b 100644
--- a/source/mvd_parse.c
+++ b/source/mvd_parse.c
@@ -890,7 +890,7 @@ static void MVD_ParseServerData( mvd_t *mvd ) {
int protocol;
int length, index;
char *gamedir, *string, *p;
- uint32 checksum;
+ uint32_t checksum;
int i;
mvd_player_t *player;
@@ -1023,8 +1023,8 @@ static void MVD_ParseServerData( mvd_t *mvd ) {
}
static qboolean MVD_ParseMessage( mvd_t *mvd, fifo_t *fifo ) {
- uint16 msglen;
- uint32 magic;
+ uint16_t msglen;
+ uint32_t magic;
byte *data;
int length;
int cmd, extrabits;