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:
authorAndrea Weikert <elubie@gmx.net>2007-09-17 14:26:09 +0400
committerAndrea Weikert <elubie@gmx.net>2007-09-17 14:26:09 +0400
commit8bfbccb3292d3a6a5c182768c91ae293906f09d4 (patch)
treeb72a1e3ce5f43815d8f6e7465330c0a985d35d7f /source/blender/src/filelist.c
parent672a66905b0aca8a7099de3743d1e42059c4fc98 (diff)
thumbs.c: warning fixes
filelist.c: warning fixes
Diffstat (limited to 'source/blender/src/filelist.c')
-rw-r--r--source/blender/src/filelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/filelist.c b/source/blender/src/filelist.c
index fbf514ce02d..23a5e73f7cd 100644
--- a/source/blender/src/filelist.c
+++ b/source/blender/src/filelist.c
@@ -481,7 +481,7 @@ void BIF_filelist_loadimage(struct FileList* filelist, int index)
scaledy = ( (float)imb->y/(float)imb->x )*imgwidth;
}
else {
- scaledy = imgheight;
+ scaledy = (float)imgheight;
scaledx = ( (float)imb->x/(float)imb->y )*imgheight;
}
ex = (short)scaledx;