1
0
mirror of https://github.com/berdav/snappy-fox synced 2025-02-16 11:31:47 +01:00

%u instead of %lu in debug print

This commit is contained in:
Davide Berardi 2024-02-19 09:50:06 +01:00
parent 872459937a
commit 6e5fe0c858

View File

@ -122,7 +122,7 @@ static int32_t parse_literal(uint8_t *cdata, uint32_t cidx, uint32_t clength,
if (*idx + clen > length)
return -1;
prdebug("Copying literal %d bytes at (u:%d c:%d (%lu))\n",
prdebug("Copying literal %d bytes at (u:%d c:%d (%u))\n",
clen, *idx, offsetval, offsetval);
memcpy(&data[*idx], &cdata[offsetval], clen);