summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dumper.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dumper.c b/src/dumper.c
index 49878d1..73a667e 100644
--- a/src/dumper.c
+++ b/src/dumper.c
@@ -324,8 +324,7 @@ write_atom(StreamContext* const ctx,
char* const str = (char*)calloc(len + 1, 1);
for (uint32_t i = 0; i < size; ++i) {
snprintf(str + (2 * i),
- size - (2 * i),
- /* 3, */
+ 3,
"%02X",
(unsigned)*((const uint8_t*)body + i));
}