From e62a1e82344b9b420359d9bb653030d18f5807c2 Mon Sep 17 00:00:00 2001 From: Pedro Martelletto Date: Wed, 9 Nov 2005 02:38:39 +0000 Subject: Add missing cast when reading in the file size, fixes PR 4480, okay krw@ --- sys/isofs/cd9660/cd9660_vfsops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/isofs/cd9660') 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; /* -- cgit v1.2.3