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>2011-10-27 18:41:26 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-10-27 18:41:26 +0400
commit699030ceb698f827fe582bf03a78a44ffc283629 (patch)
treeb9bd3afdc7d131f66460fad247135c3ed155a2ff /source/blender/render
parent626f73718631a641fe2d9fe6e2786fc48a341ff7 (diff)
use const for readonly strings and set some functions to static
Diffstat (limited to 'source/blender/render')
-rw-r--r--source/blender/render/intern/source/pipeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c
index bbe32765443..64b36c1fd12 100644
--- a/source/blender/render/intern/source/pipeline.c
+++ b/source/blender/render/intern/source/pipeline.c
@@ -405,7 +405,7 @@ static const char *get_pass_name(int passtype, int channel)
return "Unknown";
}
-static int passtype_from_name(char *str)
+static int passtype_from_name(const char *str)
{
if(strcmp(str, "Combined")==0)