diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-07-06 14:19:04 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-07-06 14:19:04 +0400 |
commit | 11645e7a3f482b24294f360985d60cd9b100f55f (patch) | |
tree | 25b6ed24423fa442460d02717fbebd056809f279 /source/blender/blenlib/intern/storage.c | |
parent | 29f2cbdd8f9cd99b30b967af45304a64a317d05d (diff) |
Fix #27877: writing .avi files > 4 GB not working on windows.
Solution is to replace "long" by "int64_t" and "fseek" by "_fseeki64", because
long on 64 bit windows is still 32 bit.
Diffstat (limited to 'source/blender/blenlib/intern/storage.c')
-rw-r--r-- | source/blender/blenlib/intern/storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c index e9db148e992..41eedef8835 100644 --- a/source/blender/blenlib/intern/storage.c +++ b/source/blender/blenlib/intern/storage.c @@ -478,7 +478,7 @@ LinkNode *BLI_read_file_as_lines(const char *name) FILE *fp= fopen(name, "r"); LinkNode *lines= NULL; char *buf; - int size; + int64_t size; if (!fp) return NULL; |