diff options
author | Andrea Weikert <elubie@gmx.net> | 2007-09-17 14:26:09 +0400 |
---|---|---|
committer | Andrea Weikert <elubie@gmx.net> | 2007-09-17 14:26:09 +0400 |
commit | 8bfbccb3292d3a6a5c182768c91ae293906f09d4 (patch) | |
tree | b72a1e3ce5f43815d8f6e7465330c0a985d35d7f /source/blender/src/filelist.c | |
parent | 672a66905b0aca8a7099de3743d1e42059c4fc98 (diff) |
thumbs.c: warning fixes
filelist.c: warning fixes
Diffstat (limited to 'source/blender/src/filelist.c')
-rw-r--r-- | source/blender/src/filelist.c | 2 |
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; |