Commit: e0ce58dd97b6ad82e82acae0c917138c3d2ba519
Author: jwilkins
Date:   Mon Feb 17 10:58:10 2014 -0600
https://developer.blender.org/rBe0ce58dd97b6ad82e82acae0c917138c3d2ba519

fileops.c: warning fix: int -> float conversion

===================================================================

M       source/blender/editors/space_file/file_ops.c

===================================================================

diff --git a/source/blender/editors/space_file/file_ops.c 
b/source/blender/editors/space_file/file_ops.c
index 681d83e..bbd05a8 100644
--- a/source/blender/editors/space_file/file_ops.c
+++ b/source/blender/editors/space_file/file_ops.c
@@ -570,7 +570,7 @@ int file_highlight_set(SpaceFile *sfile, ARegion *ar, int 
mx, int my)
                float fx, fy;
                int active_file;
 
-               UI_view2d_region_to_view(v2d, mx, my, &fx, &fy);
+               UI_view2d_region_to_view(v2d, (float)mx, (float)my, &fx, &fy);
 
                active_file = ED_fileselect_layout_offset(sfile->layout, 
(int)(v2d->tot.xmin + fx), (int)(v2d->tot.ymax - fy));

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to