diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-06-27 12:00:47 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-06-27 12:00:47 +0300 |
commit | e170d6be7fb3f7853fac6e8b2bf0142347a5dcf9 (patch) | |
tree | 9742b42055d7c1865334bb5d47902daba7175fa7 /source/blender/imbuf/intern/openexr/openexr_api.cpp | |
parent | ecb6a6df52a9f3852c9bec12e63b4ab8b06fe5f4 (diff) |
Cleanup: all params of BLI_str partition funcs can be const...
Diffstat (limited to 'source/blender/imbuf/intern/openexr/openexr_api.cpp')
-rw-r--r-- | source/blender/imbuf/intern/openexr/openexr_api.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/imbuf/intern/openexr/openexr_api.cpp b/source/blender/imbuf/intern/openexr/openexr_api.cpp index eb25ca811f2..44b7fbf6315 100644 --- a/source/blender/imbuf/intern/openexr/openexr_api.cpp +++ b/source/blender/imbuf/intern/openexr/openexr_api.cpp @@ -770,8 +770,8 @@ static const char *imb_exr_insert_view_name(const char *passname, const char *vi static char retstr[EXR_PASS_MAXNAME]; const char delims[] = {'.', '\0'}; - char *sep; - char *token; + const char *sep; + const char *token; size_t len; len = BLI_str_rpartition(passname, delims, &sep, &token); @@ -1419,9 +1419,9 @@ void IMB_exr_close(void *handle) static int imb_exr_split_token(const char *str, const char *end, const char **token) { const char delims[] = {'.', '\0'}; - char *sep; + const char *sep; - BLI_str_partition_ex(str, end, delims, &sep, (char **)token, true); + BLI_str_partition_ex(str, end, delims, &sep, token, true); if (!sep) { *token = str; |