Skip to content

Commit

Permalink
Fix compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfbbqhax committed Jul 15, 2017
1 parent d125047 commit c6fbc47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cgame/cg_buildable.c
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ static void CG_BuildableStatusDisplay( centity_t *cent )

// center point
origin[ 2 ] += mins[ 2 ];
origin[ 2 ] += ( abs( mins[ 2 ] ) + abs( maxs[ 2 ] ) ) / 2;
origin[ 2 ] += ( fabs( mins[ 2 ] ) + fabs( maxs[ 2 ] ) ) / 2;

entNum = cg.predictedPlayerState.clientNum;

Expand Down
2 changes: 1 addition & 1 deletion src/cgame/cg_servercmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -1077,7 +1077,7 @@ voice clientNum vChan cmdNum trackNum [sayText]
static void CG_ParseVoice( void )
{
int clientNum;
voiceChannel_t vChan;
int vChan;
char sayText[ MAX_SAY_TEXT] = {""};
voiceTrack_t *track;
clientInfo_t *ci;
Expand Down

0 comments on commit c6fbc47

Please sign in to comment.