summaryrefslogtreecommitdiff
path: root/source/sv_user.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/sv_user.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/sv_user.c')
-rw-r--r--source/sv_user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/sv_user.c b/source/sv_user.c
index ada81a5..010e707 100644
--- a/source/sv_user.c
+++ b/source/sv_user.c
@@ -145,7 +145,7 @@ static void write_compressed_gamestate( void ) {
sizebuf_t *buf = &sv_client->netchan->message;
entity_state_t *base;
int i, j, length;
- uint16 *patch;
+ uint16_t *patch;
char *string;
MSG_WriteByte( svc_gamestate );
@@ -1136,7 +1136,7 @@ void SV_ExecuteClientMessage( client_t *client ) {
// r1q2 specific operations
case clc_setting: {
- uint16 idx, value;
+ uint16_t idx, value;
if( client->protocol < PROTOCOL_VERSION_R1Q2 ) {
goto badbyte;