diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-01-02 09:03:53 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-01-02 09:03:53 +0300 |
commit | 95753c04f5265d9da375366038ed7e64cb40e9df (patch) | |
tree | 6c8f3a67b9ce72ad37bd3d654d5821a50d15f397 /source/blender/editors/space_action/action_draw.c | |
parent | 983282175084607242ba36d9e17dfcd398bce642 (diff) |
2.5 - Silencing more MSVC warnings
Diffstat (limited to 'source/blender/editors/space_action/action_draw.c')
-rw-r--r-- | source/blender/editors/space_action/action_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_action/action_draw.c b/source/blender/editors/space_action/action_draw.c index 8db623c7267..a3ec3a65af0 100644 --- a/source/blender/editors/space_action/action_draw.c +++ b/source/blender/editors/space_action/action_draw.c @@ -422,7 +422,7 @@ void draw_channel_names(bAnimContext *ac, SpaceAction *saction, ARegion *ar) /* don't use totrect set, as the width stays the same * (NOTE: this is ok here, the configuration is pretty straightforward) */ - v2d->tot.ymin= -height; + v2d->tot.ymin= (float)(-height); } /* loop through channels, and set up drawing depending on their type */ @@ -1152,7 +1152,7 @@ void draw_channel_strips(bAnimContext *ac, SpaceAction *saction, ARegion *ar) /* don't use totrect set, as the width stays the same * (NOTE: this is ok here, the configuration is pretty straightforward) */ - v2d->tot.ymin= -height; + v2d->tot.ymin= (float)(-height); } /* first backdrop strips */ |