diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-10-10 02:23:06 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-10-10 02:24:34 +0400 |
commit | a00b6d1271dfdcec7bad62bfd1e8d6e66fb6a49e (patch) | |
tree | 69b2deade75839f646fdc8d847b5552d83360cd0 /source/blender/editors/animation/keyframes_edit.c | |
parent | 0f6afddb045b5ad5afd00e9990c06b04cc1706e1 (diff) |
Cleanup: (float)floor -> floorf
Diffstat (limited to 'source/blender/editors/animation/keyframes_edit.c')
-rw-r--r-- | source/blender/editors/animation/keyframes_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/keyframes_edit.c b/source/blender/editors/animation/keyframes_edit.c index 83593faff22..7f612de14b7 100644 --- a/source/blender/editors/animation/keyframes_edit.c +++ b/source/blender/editors/animation/keyframes_edit.c @@ -643,7 +643,7 @@ static short snap_bezier_nearestsec(KeyframeEditData *ked, BezTriple *bezt) const float secf = (float)FPS; if (bezt->f2 & SELECT) - bezt->vec[1][0] = ((float)floor(bezt->vec[1][0] / secf + 0.5f) * secf); + bezt->vec[1][0] = (floorf(bezt->vec[1][0] / secf + 0.5f) * secf); return 0; } |