Fix for gcc compiler warning about a call to do_lamp_tex() resulting in "overflow in implicit constant conversion"

This commit is contained in:
2008-09-20 09:17:40 +00:00
parent 4d551c0a0d
commit 415868b5e2
2 changed files with 2 additions and 2 deletions

View File

@@ -2301,7 +2301,7 @@ void do_sky_tex(float *rco, float *lo, float *dxyview, float *hor, float *zen, f
/* ------------------------------------------------------------------------- */
/* colf supposed to be initialized with la->r,g,b */
void do_lamp_tex(LampRen *la, float *lavec, ShadeInput *shi, float *colf, short effect)
void do_lamp_tex(LampRen *la, float *lavec, ShadeInput *shi, float *colf, int effect)
{
Object *ob;
MTex *mtex;