summaryrefslogtreecommitdiff
path: root/src/static_libs
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2014-06-29 23:11:15 +0200
committerBoris Faure <billiob@gmail.com>2014-06-29 23:11:56 +0200
commit3d36d65dd8efa28e78a1a78d49fa36abc25ab415 (patch)
tree773a1ebde979b9ec74e82b616aa821c2c02f4f5d /src/static_libs
parent08f7baab26b686937130ec6f8851570782160b12 (diff)
lz4: fix shadow issue
@fix
Diffstat (limited to 'src/static_libs')
-rw-r--r--src/static_libs/lz4/lz4.c6
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(
983 copySize = length+MINMATCH - copySize; 983 copySize = length+MINMATCH - copySize;
984 if (copySize > (size_t)((char*)op-dest)) /* overlap */ 984 if (copySize > (size_t)((char*)op-dest)) /* overlap */
985 { 985 {
986 BYTE* const cpy = op + copySize; 986 BYTE* const cpy2 = op + copySize;
987 const BYTE* ref = (BYTE*)dest; 987 const BYTE* ref2 = (BYTE*)dest;
988 while (op < cpy) *op++ = *ref++; 988 while (op < cpy2) *op++ = *ref2++;
989 } 989 }
990 else 990 else
991 { 991 {