diff options
author | Boris Faure <billiob@gmail.com> | 2014-06-29 23:11:15 +0200 |
---|---|---|
committer | Boris Faure <billiob@gmail.com> | 2014-06-29 23:11:56 +0200 |
commit | 3d36d65dd8efa28e78a1a78d49fa36abc25ab415 (patch) | |
tree | 773a1ebde979b9ec74e82b616aa821c2c02f4f5d | |
parent | 08f7baab26b686937130ec6f8851570782160b12 (diff) | |
download | efl-3d36d65dd8efa28e78a1a78d49fa36abc25ab415.tar.gz |
lz4: fix shadow issue
@fix
-rw-r--r-- | src/static_libs/lz4/lz4.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/static_libs/lz4/lz4.c b/src/static_libs/lz4/lz4.c index a1475dc9a9..824f551831 100644 --- a/src/static_libs/lz4/lz4.c +++ b/src/static_libs/lz4/lz4.c @@ -983,9 +983,9 @@ FORCE_INLINE int LZ4_decompress_generic( copySize = length+MINMATCH - copySize; if (copySize > (size_t)((char*)op-dest)) /* overlap */ { - BYTE* const cpy = op + copySize; - const BYTE* ref = (BYTE*)dest; - while (op < cpy) *op++ = *ref++; + BYTE* const cpy2 = op + copySize; + const BYTE* ref2 = (BYTE*)dest; + while (op < cpy2) *op++ = *ref2++; } else { |