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-07-12 03:07:51 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-07-12 03:09:24 +0400
commit5e3e095e2e474bbcba0060cb13f2869548091cd8 (patch)
tree3e6a3daf509816b6c56fc3c52d4337ec2630b5af /source/blender/blenkernel/intern/unit.c
parent984d6c8677a365cf47cc6ad6c89c93b04877a948 (diff)
Code Cleanup: use const
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 8aca9f78702..f7024dee9d1 100644
--- a/source/blender/blenkernel/intern/unit.c
+++ b/source/blender/blenkernel/intern/unit.c
@@ -349,7 +349,7 @@ static void unit_dual_convert(double value, bUnitCollection *usys, bUnitDef **un
static size_t unit_as_string(char *str, int len_max, double value, int prec, bUnitCollection *usys,
/* non exposed options */
- bUnitDef *unit, char pad)
+ const bUnitDef *unit, char pad)
{
double value_conv;
size_t len, i;