aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-04-25 16:24:40 -0400
committerB. Watson <urchlay@slackware.uk>2024-04-25 16:24:40 -0400
commit945180a24bf4e2332259d42d06d77c799747cb12 (patch)
tree8c32fc00a9bc71b37ab6b121ef5015d14f3ad22e
parent69786b846ff2e0afc8bbf5b699b7ead925d90129 (diff)
downloadbw-atari8-tools-945180a24bf4e2332259d42d06d77c799747cb12.tar.gz
xexamine: fix crc32.
-rw-r--r--xexamine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xexamine.c b/xexamine.c
index 94374b3..fc600f1 100644
--- a/xexamine.c
+++ b/xexamine.c
@@ -356,6 +356,7 @@ int main(int argc, char **argv) {
printf("Seg | Start | End | Bytes | CRC32 | Type\n");
header_printed++;
}
+ crc = 0;
crc32(seg.object, seg.len, &crc);
printf("%3d | $%04x | $%04x | %5d | %08x | ",
segcount, seg.start_addr, seg.end_addr, seg.len, crc);