summaryrefslogtreecommitdiff
path: root/src/game/g_admin.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2013-01-12 23:55:21 +0000
committerTim Angus <tim@ngus.net>2013-01-12 23:55:21 +0000
commit0f43dc6df58569ceb32475c4a4009ea6de437923 (patch)
treedc2f7b0e108658f1591409ffed95b8e340f8cc12 /src/game/g_admin.c
parent16b581e90f1df605141d157edad1a75b4594f479 (diff)
Fix a bunch of warnings
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r--src/game/g_admin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index c3431a89..bbc77645 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -682,7 +682,7 @@ void G_admin_authlog( gentity_t *ent )
G_LogPrintf( "AdminAuth: %i \"%s" S_COLOR_WHITE "\" \"%s" S_COLOR_WHITE
"\" [%d] (%s): %s\n",
- ent - g_entities, ent->client->pers.netname,
+ (int)( ent - g_entities ), ent->client->pers.netname,
ent->client->pers.admin->name, ent->client->pers.admin->level,
ent->client->pers.guid, aflags );
}