Skip to content

Commit 5d82a29

Browse files
resolve windows output format issue
1 parent 1ce4a80 commit 5d82a29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/logic/jellyfish.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ void fossil_jellyfish_cleanup(fossil_jellyfish_chain *chain) {
8484

8585
void fossil_jellyfish_dump(const fossil_jellyfish_chain *chain) {
8686
for (size_t i = 0; i < chain->count; ++i) {
87-
printf("Block %zu:\n", i);
87+
printf("Block %llu:\n", (unsigned long long)i);
8888
printf(" Input: %s\n", chain->memory[i].input);
8989
printf(" Output: %s\n", chain->memory[i].output);
9090
printf(" Time: %llu\n", (unsigned long long)chain->memory[i].timestamp);

0 commit comments

Comments
 (0)