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>2012-05-26 14:05:22 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-26 14:05:22 +0400
commite727056c2e34857dd5556e66c9858506eb63e987 (patch)
treeb98135b6b86235193e3ffc83e9fb2431bc513c2c /source/blender/quicktime
parent9def1dea45170807faece0360cd957606b461183 (diff)
patch [#31265] Warning Fixes 02/05/2012
from Jason Wilkins (jwilkins) only applied some parts: * const correctness * moved a variable into a move local scope so it is also inside a #if/endif and does not end up conditionally unused
Diffstat (limited to 'source/blender/quicktime')
-rw-r--r--source/blender/quicktime/apple/quicktime_import.c2
-rw-r--r--source/blender/quicktime/quicktime_import.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/quicktime/apple/quicktime_import.c b/source/blender/quicktime/apple/quicktime_import.c
index f3e71feec58..c765e15ef51 100644
--- a/source/blender/quicktime/apple/quicktime_import.c
+++ b/source/blender/quicktime/apple/quicktime_import.c
@@ -136,7 +136,7 @@ void quicktime_exit(void)
#ifdef _WIN32
-char *get_valid_qtname(char *name)
+const char *get_valid_qtname(char *name)
{
TCHAR Buffer[MAX_PATH];
DWORD dwRet;
diff --git a/source/blender/quicktime/quicktime_import.h b/source/blender/quicktime/quicktime_import.h
index e6f3c821b85..19bdbb4814c 100644
--- a/source/blender/quicktime/quicktime_import.h
+++ b/source/blender/quicktime/quicktime_import.h
@@ -61,7 +61,7 @@
#endif /* _WIN32 _ */
-char *get_valid_qtname(char *name);
+char *get_valid_qtname(const char *name);
// quicktime movie import functions