diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/debug.c b/common/debug.c index 67e2fc2..ad726d1 100644 --- a/common/debug.c +++ b/common/debug.c @@ -116,7 +116,7 @@ inline void debug_buffer(const char *data, const int length) fprintf(stderr, " "); continue; } - fprintf(stderr, "%02x ", *(data + i + j)); + fprintf(stderr, "%02x ", *(data + i + j) & 0xff); } fprintf(stderr, " | "); for (j = 0; j < 16; j++) { |