From e6610164e0284ab5a85f8887b9d84c4c233fbbfd Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Sat, 24 Feb 2007 11:42:45 +0000 Subject: [PATCH] correct cast of 1st arg of isonum_733 --- libiso9660/iso9660_open.c | 4 ++-- libiso9660/iso9660_opendir.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libiso9660/iso9660_open.c b/libiso9660/iso9660_open.c index e17d7f2..647c6b8 100644 --- a/libiso9660/iso9660_open.c +++ b/libiso9660/iso9660_open.c @@ -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; diff --git a/libiso9660/iso9660_opendir.c b/libiso9660/iso9660_opendir.c index aa18b73..0cabc5a 100644 --- a/libiso9660/iso9660_opendir.c +++ b/libiso9660/iso9660_opendir.c @@ -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;