correct cast of 1st arg of isonum_733

This commit is contained in:
Laurent Vivier 2007-02-24 11:42:45 +00:00
parent edd5bc94fb
commit e6610164e0
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;