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:
authorJulian Eisel <eiseljulian@gmail.com>2015-09-19 04:17:06 +0300
committerJulian Eisel <eiseljulian@gmail.com>2015-09-19 04:17:06 +0300
commitbc5238e3ccb76556891d425994e73bfb5c33acb8 (patch)
tree2d78d58570fa8c94988f0f77e2cdda73cd89e5ef /source/blender/editors/space_file/file_utils.c
parent1bb89a60280da92852c8c5205f34d3ff8b0f210c (diff)
Correction to previous commit
Diffstat (limited to 'source/blender/editors/space_file/file_utils.c')
-rw-r--r--source/blender/editors/space_file/file_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/file_utils.c b/source/blender/editors/space_file/file_utils.c
index 435c04b8ef1..3c007f25da3 100644
--- a/source/blender/editors/space_file/file_utils.c
+++ b/source/blender/editors/space_file/file_utils.c
@@ -41,7 +41,7 @@ void file_tile_boundbox(const ARegion *ar, FileLayout *layout, const int file, r
int xmin, ymax;
ED_fileselect_layout_tilepos(layout, file, &xmin, &ymax);
- ymax = ar->v2d.tot.ymax - ymax; /* real, view space ymax */
+ ymax = (int)ar->v2d.tot.ymax - ymax; /* real, view space ymax */
BLI_rcti_init(r_bounds, xmin, xmin + layout->tile_w + layout->tile_border_x,
ymax - layout->tile_h - layout->tile_border_y, ymax);
}