avoid implicit int types

This commit is contained in:
Jonathan Gray 2013-04-23 10:29:55 +10:00
parent b1875def86
commit fa77ccb704
4 changed files with 4 additions and 4 deletions

View file

@ -1390,7 +1390,7 @@ static qboolean CG_CalcFov( void ) {
}
else
{//still zooming
static zoomSoundTime = 0;
static int zoomSoundTime = 0;
if ( zoomSoundTime < cg.time )
{

View file

@ -603,7 +603,7 @@ Cmd_Where_f
*/
void Cmd_Where_f( gentity_t *ent ) {
const char *s = gi.argv(1);
const len = strlen(s);
const int len = strlen(s);
gentity_t *check;
if ( gi.argc () < 2 ) {

View file

@ -1569,7 +1569,7 @@ Com_PushEvent
*/
void Com_PushEvent( sysEvent_t *event ) {
sysEvent_t *ev;
static printedWarning;
static int printedWarning;
ev = &com_pushedEvents[ com_pushedEventsHead & (MAX_PUSHED_EVENTS-1) ];

View file

@ -639,7 +639,7 @@ static void RB_SurfaceCylinder( void )
}
static vec3_t sh1, sh2;
static f_count;
static int f_count;
// Up front, we create a random "shape", then apply that to each line segment...and then again to each of those segments...kind of like a fractal
//----------------------------------------------------------------------------