diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2005-11-09 02:38:39 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2005-11-09 02:38:39 +0000 |
commit | e62a1e82344b9b420359d9bb653030d18f5807c2 (patch) | |
tree | b6fb49fd1f1acb0ed5ed14b2236c080f690b4abf /sys/isofs/cd9660 | |
parent | d8c5fa5d4ecfacbdb1814698814bb4f4c573ac27 (diff) |
Add missing cast when reading in the file size, fixes PR 4480, okay krw@
Diffstat (limited to 'sys/isofs/cd9660')
-rw-r--r-- | sys/isofs/cd9660/cd9660_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c index 13097ffcd38..4a40ecfa85c 100644 --- a/sys/isofs/cd9660/cd9660_vfsops.c +++ b/sys/isofs/cd9660/cd9660_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd9660_vfsops.c,v 1.35 2003/08/14 07:46:39 mickey Exp $ */ +/* $OpenBSD: cd9660_vfsops.c,v 1.36 2005/11/09 02:38:38 pedro Exp $ */ /* $NetBSD: cd9660_vfsops.c,v 1.26 1997/06/13 15:38:58 pk Exp $ */ /*- @@ -855,7 +855,7 @@ retry: } ip->iso_extent = isonum_733(isodir->extent); - ip->i_size = isonum_733(isodir->size); + ip->i_size = (u_int32_t) isonum_733(isodir->size); ip->iso_start = isonum_711(isodir->ext_attr_length) + ip->iso_extent; /* |