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:
Diffstat (limited to 'source/blender/editors/space_ipo/space_ipo.c')
-rw-r--r--source/blender/editors/space_ipo/space_ipo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_ipo/space_ipo.c b/source/blender/editors/space_ipo/space_ipo.c
index 8a301378fd7..1c7dadcb296 100644
--- a/source/blender/editors/space_ipo/space_ipo.c
+++ b/source/blender/editors/space_ipo/space_ipo.c
@@ -96,7 +96,7 @@ static SpaceLink *ipo_new(const bContext *C)
ar->v2d.tot.xmin= 0.0f;
ar->v2d.tot.ymin= -10.0f;
- ar->v2d.tot.xmax= scene->r.efra;
+ ar->v2d.tot.xmax= (float)scene->r.efra;
ar->v2d.tot.ymax= 10.0f;
ar->v2d.cur= ar->v2d.tot;