Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-04-26 18:22:49 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-26 18:25:15 +0400
commitc67bd49e5607cc3db7446d4b12e1346fc9b2c83a (patch)
treebffbca1613b3ce8a5e356110c0d35b38dd6537cf /source/blender/editors/sculpt_paint/paint_utils.c
parentf2d25975b5e90f89744be733b81462493dc57977 (diff)
Code cleanup: use 'const' for arrays (editors)
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_utils.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_utils.c2
1 files changed, 1 insertions, 1 deletions
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);