From 263830f0004481cd4921f03f4242d7c80794b08d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 3 Dec 2010 17:05:21 +0000 Subject: Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for 'const char's,. Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into. --- source/blender/editors/animation/anim_channels_defines.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/animation/anim_channels_defines.c') diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c index 4d28bed0ffb..fa488e8ba98 100644 --- a/source/blender/editors/animation/anim_channels_defines.c +++ b/source/blender/editors/animation/anim_channels_defines.c @@ -3001,7 +3001,7 @@ static void draw_setting_widget (bAnimContext *ac, bAnimListElem *ale, bAnimChan short negflag, ptrsize, enabled, butType; int flag, icon; void *ptr; - char *tooltip; + const char *tooltip; uiBut *but = NULL; /* get the flag and the pointer to that flag */ -- cgit v1.2.3