Fix hex_dump..was printing negative values

This commit is contained in:
Michael Black 2019-12-12 10:14:42 -06:00
parent 5e44f6637e
commit e91df87a8f
No known key found for this signature in database
GPG key ID: 6599353EC683404D

View file

@ -84,7 +84,7 @@ void dump_hex(const unsigned char ptr[], size_t size)
for (i = 0; i < size; ++i)
{
char c;
unsigned char c;
if (i % DUMP_HEX_WIDTH == 0)
{
/* new line */