diff options
author | B. Watson <urchlay@slackware.uk> | 2024-04-25 16:24:40 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-04-25 16:24:40 -0400 |
commit | 945180a24bf4e2332259d42d06d77c799747cb12 (patch) | |
tree | 8c32fc00a9bc71b37ab6b121ef5015d14f3ad22e | |
parent | 69786b846ff2e0afc8bbf5b699b7ead925d90129 (diff) | |
download | bw-atari8-tools-945180a24bf4e2332259d42d06d77c799747cb12.tar.gz |
xexamine: fix crc32.
-rw-r--r-- | xexamine.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |