summaryrefslogtreecommitdiff
path: root/src/game/g_admin.c
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2009-10-03 12:35:39 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:05 +0000
commitdc8cf306d9a153500682f8f39f4ea0a97f73a599 (patch)
treebb0626745f6212922bf2d16d28f4c078aabfb63d /src/game/g_admin.c
parentdcfcbd3bb4a94ff8f374570916c86acadeb7e5dd (diff)
* (bug 3969) Fix overflow warnings in !showbans (Rezyn)
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r--src/game/g_admin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index ef523361..d7eae042 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -2388,8 +2388,8 @@ qboolean G_admin_showbans( gentity_t *ent, int skiparg )
char date[ 11 ];
char *made;
int j, k;
- char n1[ MAX_NAME_LENGTH ] = {""};
- char n2[ MAX_NAME_LENGTH ] = {""};
+ char n1[ MAX_NAME_LENGTH * 2 ] = {""};
+ char n2[ MAX_NAME_LENGTH * 2 ] = {""};
t = trap_RealTime( NULL );