mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-21 03:29:49 +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)
|
||||
return NULL;
|
||||
|
||||
file->base = isonum_733((unsigned char *)idr->extent);
|
||||
file->size = isonum_733((unsigned char *)idr->size);
|
||||
file->base = isonum_733((char *)idr->extent);
|
||||
file->size = isonum_733((char *)idr->size);
|
||||
file->offset = 0;
|
||||
file->current = -1;
|
||||
file->volume = volume;
|
||||
|
@ -17,8 +17,8 @@ static iso9660_DIR* iso9660_opendir_node(iso9660_VOLUME *volume, struct iso_dire
|
||||
if (dir == NULL)
|
||||
return NULL;
|
||||
|
||||
dir->extent = isonum_733((unsigned char *)node->extent);
|
||||
dir->len = isonum_733((unsigned char *)node->size);
|
||||
dir->extent = isonum_733((char *)node->extent);
|
||||
dir->len = isonum_733((char *)node->size);
|
||||
dir->index = sizeof (dir->buffer);
|
||||
dir->volume = volume;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user