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:
authorFrancisco De La Cruz <dlcs.frank@gmail.com>2012-04-09 05:24:56 +0400
committerFrancisco De La Cruz <dlcs.frank@gmail.com>2012-04-09 05:24:56 +0400
commit891b46e074f28330003eb1484712a3c052008b48 (patch)
treee256241da56eb5ddb1f35229bd226258bc7cd2f1 /source/blender/blenkernel/intern/pointcache.c
parentdabcdc15325702586501b5a6e401876f776d3c4c (diff)
Fixed compile error when building with WITH_LZMA and not WITH_LZO for pointcache compression.
Diffstat (limited to 'source/blender/blenkernel/intern/pointcache.c')
-rw-r--r--source/blender/blenkernel/intern/pointcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/pointcache.c b/source/blender/blenkernel/intern/pointcache.c
index a383fac07c9..100bd485c36 100644
--- a/source/blender/blenkernel/intern/pointcache.c
+++ b/source/blender/blenkernel/intern/pointcache.c
@@ -1205,7 +1205,7 @@ static int ptcache_file_compressed_read(PTCacheFile *pf, unsigned char *result,
if (compressed == 2)
{
size_t sizeOfIt;
- size_t leni = in_len, leno = out_len;
+ size_t leni = in_len, leno = len;
ptcache_file_read(pf, &size, 1, sizeof(unsigned int));
sizeOfIt = (size_t)size;
ptcache_file_read(pf, props, sizeOfIt, sizeof(unsigned char));