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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-03-05 20:51:35 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-03-05 20:51:35 +0300
commit4037ef77146a693fe44d00b356ac4b3450474c9c (patch)
tree0b386e8243a57854ba20acfdd4c0b99a82ccd6a5 /source/blender/blenloader
parent94f8db96d95e652bbc5f0ea1ecb05eb54bb58851 (diff)
Fix for undo optimization commit, compiler error on msvc.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index f93b95843d4..ecc11d080b5 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -900,7 +900,7 @@ static int fd_read_from_memfile(FileData *filedata, void *buffer, int size)
if(chunkoffset+readsize > chunk->size)
readsize= chunk->size-chunkoffset;
- memcpy(buffer + totread, chunk->buf+chunkoffset, readsize);
+ memcpy((char*)buffer+totread, chunk->buf+chunkoffset, readsize);
totread += readsize;
filedata->seek += readsize;
seek += readsize;