Fix debug print of found data types on opening.

This commit is contained in:
2022-10-03 18:16:34 +01:00
parent d29a2941f8
commit ce47ffe4f7

View File

@@ -187,7 +187,7 @@ void* aaruf_open(const char* filepath)
fprintf(stderr, fprintf(stderr,
"libaaruformat: Block type %4.4s with data type %d is indexed to be at %" PRIu64 "\n", "libaaruformat: Block type %4.4s with data type %d is indexed to be at %" PRIu64 "\n",
(char*)&idxEntries[i].blockType, (char*)&idxEntries[i].blockType,
(char*)&idxEntries[i].dataType, idxEntries[i].dataType,
idxEntries[i].offset); idxEntries[i].offset);
} }
@@ -1147,7 +1147,7 @@ void* aaruf_open(const char* filepath)
fprintf(stderr, fprintf(stderr,
"libaaruformat: Unhandled block type %4.4s with data type %d is indexed to be at %" PRIu64 "\n", "libaaruformat: Unhandled block type %4.4s with data type %d is indexed to be at %" PRIu64 "\n",
(char*)&idxEntries[i].blockType, (char*)&idxEntries[i].blockType,
(char*)&idxEntries[i].dataType, idxEntries[i].dataType,
idxEntries[i].offset); idxEntries[i].offset);
break; break;
} }