diff options
| -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) | |||
| 116 | fprintf(stderr, " "); | 116 | fprintf(stderr, " "); |
| 117 | continue; | 117 | continue; |
| 118 | } | 118 | } |
| 119 | fprintf(stderr, "%02x ", *(data + i + j)); | 119 | fprintf(stderr, "%02x ", *(data + i + j) & 0xff); |
| 120 | } | 120 | } |
| 121 | fprintf(stderr, " | "); | 121 | fprintf(stderr, " | "); |
| 122 | for (j = 0; j < 16; j++) { | 122 | for (j = 0; j < 16; j++) { |
