avoid implicit int types

This commit is contained in:
Jonathan Gray 2013-04-23 10:29:55 +10:00
parent 666685fba6
commit 7fa9827a94
3 changed files with 3 additions and 3 deletions

View file

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

View file

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

View file

@ -639,7 +639,7 @@ static void RB_SurfaceCylinder( void )
} }
static vec3_t sh1, sh2; 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 // 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
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------