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:20:13 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-26 18:25:15 +0400
commita2c107aef1c8aaf7deb17dd0319bc07e55cb4293 (patch)
treeae3a039dc5b139a276243b4ae4eed1bbc90c84e2 /source/blender/blenkernel/intern/unit.c
parent11310b554ab2f08c9f0d086f5f07694ba7ca9f19 (diff)
Code cleanup: use 'const' for arrays (blenkernel)
Diffstat (limited to 'source/blender/blenkernel/intern/unit.c')
-rw-r--r--source/blender/blenkernel/intern/unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/unit.c b/source/blender/blenkernel/intern/unit.c
index 6a05014385d..de6424f3145 100644
--- a/source/blender/blenkernel/intern/unit.c
+++ b/source/blender/blenkernel/intern/unit.c
@@ -680,7 +680,7 @@ int bUnit_ReplaceString(char *str, int len_max, const char *str_prev, double sca
* */
{
char *str_found = str;
- char *ch = str;
+ const char *ch = str;
while ((str_found = strchr(str_found, SEP_CHR))) {