aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 8efb358..d3bcf38 100644
--- a/main.c
+++ b/main.c
@@ -369,7 +369,7 @@ static void asdfapi_hexdump(const char *data, const size_t size) {
if (size < width) {
width = size;
}
- for (size_t b = 0, col = 0; b < 16; b++) {
+ for (size_t b = 0, col = 0; b < size; b++) {
char ch = data[b];
if (!col) {
// Record the starting address