MFC r293271:
Fix const conversion warning in lz4_decompress Sponsored by: Multiplay
This commit is contained in:
parent
c01d1bb4ae
commit
dbb959f1e6
@ -52,7 +52,7 @@ lz4_decompress(void *s_start, void *d_start, size_t s_len, size_t d_len, int dum
|
||||
* Returns 0 on success (decompression function returned non-negative)
|
||||
* and non-zero on failure (decompression function returned negative).
|
||||
*/
|
||||
return (LZ4_uncompress_unknownOutputSize(s_start + 4, d_start, bufsiz,
|
||||
return (LZ4_uncompress_unknownOutputSize((const char *)s_start + 4, d_start, bufsiz,
|
||||
d_len) < 0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user