From 7ca74fc1c008355b84c08bcadb56ea6acabce2f3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 27 Apr 2014 00:24:11 +1000 Subject: Code cleanup: use 'const' for arrays (blenloader, gpu, imbuf, makesdna, modifiers, nodes) --- source/blender/imbuf/intern/divers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/imbuf/intern/divers.c') diff --git a/source/blender/imbuf/intern/divers.c b/source/blender/imbuf/intern/divers.c index 0bd5c5c6ed6..f896d975326 100644 --- a/source/blender/imbuf/intern/divers.c +++ b/source/blender/imbuf/intern/divers.c @@ -567,7 +567,7 @@ void IMB_rect_from_float(ImBuf *ibuf) /* converts from linear float to sRGB byte for part of the texture, buffer will hold the changed part */ void IMB_partial_rect_from_float(ImBuf *ibuf, float *buffer, int x, int y, int w, int h, bool is_data) { - float *rect_float; + const float *rect_float; uchar *rect_byte; int profile_from = IB_PROFILE_LINEAR_RGB; -- cgit v1.2.3