From c67bd49e5607cc3db7446d4b12e1346fc9b2c83a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 27 Apr 2014 00:22:49 +1000 Subject: Code cleanup: use 'const' for arrays (editors) --- source/blender/editors/sculpt_paint/paint_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/sculpt_paint/paint_utils.c') diff --git a/source/blender/editors/sculpt_paint/paint_utils.c b/source/blender/editors/sculpt_paint/paint_utils.c index 7316c58755c..642c1dd9529 100644 --- a/source/blender/editors/sculpt_paint/paint_utils.c +++ b/source/blender/editors/sculpt_paint/paint_utils.c @@ -227,7 +227,7 @@ void paint_sample_color(const bContext *C, ARegion *ar, int x, int y) /* fron { Brush *br = BKE_paint_brush(BKE_paint_get_active_from_context(C)); unsigned int col; - char *cp; + const char *cp; CLAMP(x, 0, ar->winx); CLAMP(y, 0, ar->winy); -- cgit v1.2.3