Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2008-09-20 13:17:40 +0400
committerJoshua Leung <aligorith@gmail.com>2008-09-20 13:17:40 +0400
commit415868b5e2dc1732aebe19c1fbd17d180249d396 (patch)
tree78d3ed2bbbf03e2fed10e1f5ae040f789bf3c798 /source/blender/render/intern/source/texture.c
parent4d551c0a0ded51c443f86696d5644510c0ca3065 (diff)
Fix for gcc compiler warning about a call to do_lamp_tex() resulting in "overflow in implicit constant conversion"
Diffstat (limited to 'source/blender/render/intern/source/texture.c')
-rw-r--r--source/blender/render/intern/source/texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/texture.c b/source/blender/render/intern/source/texture.c
index 628ac95710a..c14425e274f 100644
--- a/source/blender/render/intern/source/texture.c
+++ b/source/blender/render/intern/source/texture.c
@@ -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;