summaryrefslogtreecommitdiffstats
path: root/kioslave/iso/libisofs/isofs.c
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-02 23:26:01 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-02 23:26:01 -0500
commitdca4c677237b01768f5d6d798a2d918547d2ee8e (patch)
tree1b0ac0ac9cadca325b2f0d8c5816b19ab8a5814a /kioslave/iso/libisofs/isofs.c
parentd1c71f692f5329dbfe817bbed41c5137be608efa (diff)
downloadtdelibs-dca4c677237b01768f5d6d798a2d918547d2ee8e.tar.gz
tdelibs-dca4c677237b01768f5d6d798a2d918547d2ee8e.zip
Update iso kioslave to better handle large images
Diffstat (limited to 'kioslave/iso/libisofs/isofs.c')
-rw-r--r--kioslave/iso/libisofs/isofs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/kioslave/iso/libisofs/isofs.c b/kioslave/iso/libisofs/isofs.c
index e59945026..f1db4427c 100644
--- a/kioslave/iso/libisofs/isofs.c
+++ b/kioslave/iso/libisofs/isofs.c
@@ -122,7 +122,7 @@ void FreeBootTable(boot_head *boot) {
boot->defentry=NULL;
}
-int BootImageSize(int media,long len) {
+int BootImageSize(int media,long long len) {
long long ret;
switch(media & 0xf) {
@@ -158,7 +158,7 @@ static boot_entry *CreateBootEntry(char *be) {
return entry;
}
-int ReadBootTable(readfunc *read,long sector, boot_head *head, void *udata) {
+int ReadBootTable(readfunc *read,long long sector, boot_head *head, void *udata) {
char buf[2048], *c, *be;
int i,end=0;
@@ -221,7 +221,7 @@ err:
/**
* Creates the linked list of the volume descriptors
*/
-iso_vol_desc *ReadISO9660(readfunc *read,long sector,void *udata) {
+iso_vol_desc *ReadISO9660(readfunc *read,long long sector,void *udata) {
int i;
struct iso_volume_descriptor buf;
@@ -577,7 +577,7 @@ int level=0,joliet=0,dirs,files;
iconv_t iconv_d;
int fd;
-int readf(char *buf, long start, long len,void *udata) {
+int readf(char *buf, long long start, long long len,void *udata) {
int ret;
if ((ret=lseek64(fd, start << 11, SEEK_SET))<0) return ret;