From ce47ffe4f7a7dd60d57c8e7641f56867dda58a01 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Mon, 3 Oct 2022 18:16:34 +0100 Subject: [PATCH] Fix debug print of found data types on opening. --- src/open.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/open.c b/src/open.c index 4f20d5e..707c79c 100644 --- a/src/open.c +++ b/src/open.c @@ -187,7 +187,7 @@ void* aaruf_open(const char* filepath) fprintf(stderr, "libaaruformat: Block type %4.4s with data type %d is indexed to be at %" PRIu64 "\n", (char*)&idxEntries[i].blockType, - (char*)&idxEntries[i].dataType, + idxEntries[i].dataType, idxEntries[i].offset); } @@ -1147,7 +1147,7 @@ void* aaruf_open(const char* filepath) fprintf(stderr, "libaaruformat: Unhandled block type %4.4s with data type %d is indexed to be at %" PRIu64 "\n", (char*)&idxEntries[i].blockType, - (char*)&idxEntries[i].dataType, + idxEntries[i].dataType, idxEntries[i].offset); break; }