diff options
author | Yann Collet <cyan@fb.com> | 2018-04-16 23:54:03 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2018-04-16 23:54:03 (GMT) |
commit | a3aeb34184e20d51616beccfcbbe7aade3cc3a64 (patch) | |
tree | 19ebc089c28d8f55bc87a49c894dd166d214efd7 /lib | |
parent | 4aff9b10b56e44b2ff6326f611c3659565812d80 (diff) | |
download | lz4-a3aeb34184e20d51616beccfcbbe7aade3cc3a64.zip lz4-a3aeb34184e20d51616beccfcbbe7aade3cc3a64.tar.gz lz4-a3aeb34184e20d51616beccfcbbe7aade3cc3a64.tar.bz2 |
fixed minor format warnings
Diffstat (limited to 'lib')
-rw-r--r-- | lib/lz4.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -785,7 +785,7 @@ LZ4_FORCE_INLINE int LZ4_compress_generic( /* Copy Literals */ LZ4_wildCopy(op, anchor, op+litLength); op+=litLength; - DEBUGLOG(6, "seq.start:%zi, literals=%u, match.start:%zi", anchor-(const BYTE*)source, litLength, ip-(const BYTE*)source); + DEBUGLOG(6, "seq.start:%i, literals=%u, match.start:%i", (int)(anchor-(const BYTE*)source), litLength, (int)(ip-(const BYTE*)source)); } _next_match: @@ -801,7 +801,7 @@ _next_match: if (maybe_ext_memSegment) { /* static test */ assert(offset <= MAX_DISTANCE && offset > 0); LZ4_writeLE16(op, (U16)offset); op+=2; - DEBUGLOG(6, " with offset=%u (ext if > %zi)", offset, ip - (const BYTE*)source); + DEBUGLOG(6, " with offset=%u (ext if > %i)", offset, (int)(ip - (const BYTE*)source)); } else { assert(ip-match <= MAX_DISTANCE); LZ4_writeLE16(op, (U16)(ip - match)); op+=2; @@ -901,7 +901,7 @@ _next_match: *token=0; if (maybe_ext_memSegment) offset = current - matchIndex; - DEBUGLOG(6, "seq.start:%zi, literals=%u, match.start:%zi", anchor-(const BYTE*)source, 0, ip-(const BYTE*)source); + DEBUGLOG(6, "seq.start:%i, literals=%u, match.start:%i", (int)(anchor-(const BYTE*)source), 0, (int)(ip-(const BYTE*)source)); goto _next_match; } } |