From b6e967be636d0e1bae842b2c52c76fd867a4784a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 27 Apr 2014 07:50:08 +1000 Subject: Code cleanup: const args and arrays --- source/blender/imbuf/intern/scaling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/imbuf') diff --git a/source/blender/imbuf/intern/scaling.c b/source/blender/imbuf/intern/scaling.c index 34253cd227c..c98b39c826b 100644 --- a/source/blender/imbuf/intern/scaling.c +++ b/source/blender/imbuf/intern/scaling.c @@ -674,7 +674,7 @@ struct scale_outpix_float { }; static void shrink_picture_float( - float *src, float *dst, int src_width, + const float *src, float *dst, int src_width, int src_height, int dst_width, int dst_height) { double ratiox = (double) (dst_width) / (double) (src_width); -- cgit v1.2.3