diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-13 19:46:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-13 19:46:55 +0400 |
commit | f579aea076a729b09bf5a56dbccc36941722e49c (patch) | |
tree | 0a35253951df8b6bf2b4f36358dd511c2031e3b1 /source/blender/imbuf/intern/openexr | |
parent | f9428065b8c52755152821086ee521d976300e3d (diff) |
code cleanup: use ptrdiff_t when comparing pointers and tag event as an unused arg to move_to_layer_invoke()
Diffstat (limited to 'source/blender/imbuf/intern/openexr')
-rw-r--r-- | source/blender/imbuf/intern/openexr/openexr_api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/openexr/openexr_api.cpp b/source/blender/imbuf/intern/openexr/openexr_api.cpp index 16f2df9406d..5d2632ec0d7 100644 --- a/source/blender/imbuf/intern/openexr/openexr_api.cpp +++ b/source/blender/imbuf/intern/openexr/openexr_api.cpp @@ -881,7 +881,7 @@ void IMB_exr_close(void *handle) /* get a substring from the end of the name, separated by '.' */ static int imb_exr_split_token(const char *str, const char *end, const char **token) { - int64_t maxlen = end - str; + ptrdiff_t maxlen = end - str; int len = 0; while (len < maxlen && *(end - len - 1) != '.') { len++; |