summaryrefslogtreecommitdiff
path: root/src/cgame/cg_servercmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_servercmds.c')
-rw-r--r--src/cgame/cg_servercmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgame/cg_servercmds.c b/src/cgame/cg_servercmds.c
index e955e8ab..ae4a2619 100644
--- a/src/cgame/cg_servercmds.c
+++ b/src/cgame/cg_servercmds.c
@@ -1068,7 +1068,7 @@ static void CG_ParseVoice( void )
return;
vChan = atoi( CG_Argv( 2 ) );
- if( vChan < 0 || vChan >= VOICE_CHAN_NUM_CHANS )
+ if( (int)vChan < 0 || vChan >= VOICE_CHAN_NUM_CHANS )
return;
if( cg_teamChatsOnly.integer && vChan != VOICE_CHAN_TEAM )