diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-10-05 04:45:32 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-10-05 04:45:32 +0200 |
commit | b33f4c030159ac9dfdf34cb0ba6ec64daf727c8c (patch) | |
tree | 679a9488e637e6b8a5756029dfc4e48b25127585 /sys/src/cmd/9660srv/9660srv.c | |
parent | 0e09795831f37b86206e4dc9b3a0ac8bcd90401e (diff) |
9660srv: do not ignore upper 32 bits of offset when reading directory
Diffstat (limited to 'sys/src/cmd/9660srv/9660srv.c')
-rw-r--r-- | sys/src/cmd/9660srv/9660srv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/cmd/9660srv/9660srv.c b/sys/src/cmd/9660srv/9660srv.c index 8fe773d1b..d0bdbabe3 100644 --- a/sys/src/cmd/9660srv/9660srv.c +++ b/sys/src/cmd/9660srv/9660srv.c @@ -13,7 +13,7 @@ static void iwalkup(Xfile*); static void iwalk(Xfile*, char*); static void iopen(Xfile*, int); static void icreate(Xfile*, char*, long, int); -static long ireaddir(Xfile*, uchar*, long, long); +static long ireaddir(Xfile*, uchar*, vlong, long); static long iread(Xfile*, char*, vlong, long); static long iwrite(Xfile*, char*, vlong, long); static void iclunk(Xfile*); @@ -314,7 +314,7 @@ icreate(Xfile *f, char *name, long perm, int mode) } static long -ireaddir(Xfile *f, uchar *buf, long offset, long count) +ireaddir(Xfile *f, uchar *buf, vlong offset, long count) { Isofile *ip = f->ptr; Dir d; |