mirror of
https://github.com/vivier/EMILE.git
synced 2025-01-02 21:30:29 +00:00
correct cast of 1st arg of isonum_733
This commit is contained in:
parent
edd5bc94fb
commit
e6610164e0
@ -26,8 +26,8 @@ iso9660_FILE* iso9660_open(iso9660_VOLUME *volume, char* pathname)
|
|||||||
if (file == NULL)
|
if (file == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
file->base = isonum_733((unsigned char *)idr->extent);
|
file->base = isonum_733((char *)idr->extent);
|
||||||
file->size = isonum_733((unsigned char *)idr->size);
|
file->size = isonum_733((char *)idr->size);
|
||||||
file->offset = 0;
|
file->offset = 0;
|
||||||
file->current = -1;
|
file->current = -1;
|
||||||
file->volume = volume;
|
file->volume = volume;
|
||||||
|
@ -17,8 +17,8 @@ static iso9660_DIR* iso9660_opendir_node(iso9660_VOLUME *volume, struct iso_dire
|
|||||||
if (dir == NULL)
|
if (dir == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
dir->extent = isonum_733((unsigned char *)node->extent);
|
dir->extent = isonum_733((char *)node->extent);
|
||||||
dir->len = isonum_733((unsigned char *)node->size);
|
dir->len = isonum_733((char *)node->size);
|
||||||
dir->index = sizeof (dir->buffer);
|
dir->index = sizeof (dir->buffer);
|
||||||
dir->volume = volume;
|
dir->volume = volume;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user