From 5a093689570d27df5ecd7394284a670fc32234b5 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 19 Nov 2010 02:14:18 +0000 Subject: use 'const char *' for imbuf and file ops. --- source/blender/python/generic/IDProp.c | 6 +++--- source/blender/python/generic/IDProp.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/python') diff --git a/source/blender/python/generic/IDProp.c b/source/blender/python/generic/IDProp.c index c64be00093c..4dfb76c6617 100644 --- a/source/blender/python/generic/IDProp.c +++ b/source/blender/python/generic/IDProp.c @@ -295,7 +295,7 @@ static int idp_sequence_type(PyObject *seq) } /* note: group can be a pointer array or a group */ -char *BPy_IDProperty_Map_ValidateAndCreate(char *name, IDProperty *group, PyObject *ob) +const char *BPy_IDProperty_Map_ValidateAndCreate(const char *name, IDProperty *group, PyObject *ob) { IDProperty *prop = NULL; IDPropertyTemplate val = {0}; @@ -352,7 +352,7 @@ char *BPy_IDProperty_Map_ValidateAndCreate(char *name, IDProperty *group, PyObje case IDP_IDPARRAY: prop= IDP_NewIDPArray(name); for (i=0; i