diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-19 12:28:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-19 12:29:45 +0300 |
commit | 40ecb2ded81ba7265c426f6680faf3417ff22aeb (patch) | |
tree | fa6a746f1b79fc54a6c78f40243a537a464f5bd4 /source/blender/imbuf/intern/jp2.c | |
parent | 7ba82f3f0a848aedcc0f3b3f73a429f740792dbe (diff) |
Windows: use int64_t instead of off_t
Avoids 2gb file size limit.
Diffstat (limited to 'source/blender/imbuf/intern/jp2.c')
-rw-r--r-- | source/blender/imbuf/intern/jp2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/jp2.c b/source/blender/imbuf/intern/jp2.c index c3690bcf643..aaeb4e4c2ad 100644 --- a/source/blender/imbuf/intern/jp2.c +++ b/source/blender/imbuf/intern/jp2.c @@ -138,7 +138,7 @@ static void info_callback(const char *msg, void *client_data) struct BufInfo { const unsigned char *buf; const unsigned char *cur; - off_t len; + OPJ_OFF_T len; }; static void opj_read_from_buffer_free(void *UNUSED(p_user_data)) |