diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-02 15:33:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-02 15:33:21 +0400 |
commit | ce3293b2d9907cadd7bd88d3b85d9923c4d83e7f (patch) | |
tree | 3fb16c3266631dd55671c4c6f8cff311673c5fe3 /source/blender/imbuf/intern/scaling.c | |
parent | b9378a3083b92a09e3afe8446bf2f087fad2db2b (diff) |
code cleanup: remove redundant float casts
Diffstat (limited to 'source/blender/imbuf/intern/scaling.c')
-rw-r--r-- | source/blender/imbuf/intern/scaling.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/scaling.c b/source/blender/imbuf/intern/scaling.c index 810cb88c06e..a57926f0202 100644 --- a/source/blender/imbuf/intern/scaling.c +++ b/source/blender/imbuf/intern/scaling.c @@ -1313,7 +1313,7 @@ static ImBuf *scaleupy(struct ImBuf *ibuf, int newy) rect += 2 * skipx; } if (do_float) { - rectf = ((float *)ibuf->rect_float) + 4 * (x - 1); + rectf = ibuf->rect_float + 4 * (x - 1); newrectf = _newrectf + 4 * (x - 1); val_af = rectf[0]; |