mirror of
https://github.com/aaru-dps/libaaruformat.git
synced 2025-12-16 19:24:40 +00:00
Rename structures.
This commit is contained in:
@@ -70,9 +70,9 @@ void* open(const char* filepath)
|
||||
}
|
||||
|
||||
fseek(ctx->imageStream, 0, SEEK_SET);
|
||||
readBytes = fread(&ctx->header, sizeof(DicHeader), 1, ctx->imageStream);
|
||||
readBytes = fread(&ctx->header, sizeof(AaruHeader), 1, ctx->imageStream);
|
||||
|
||||
if(readBytes != sizeof(DicHeader))
|
||||
if(readBytes != sizeof(AaruHeader))
|
||||
{
|
||||
free(ctx);
|
||||
errno = AARUF_ERROR_FILE_TOO_SMALL;
|
||||
|
||||
Reference in New Issue
Block a user