diff options
author | grant <grant> | 2003-04-17 13:50:54 +0000 |
---|---|---|
committer | grant <grant> | 2003-04-17 13:50:54 +0000 |
commit | c8081432e5d38d24bc44c07b490fb621d93c69ac (patch) | |
tree | dda8c5bc987bf839fb38374881552ca6a724bdbc /pkgtools | |
parent | ea3b239042eec3bc74fee3828ae475d8c3599e39 (diff) | |
download | pkgsrc-c8081432e5d38d24bc44c07b490fb621d93c69ac.tar.gz |
sync with bootstrap, remove an unnecessary cast which found its way in
here.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_install/files/add/perform.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/add/perform.c b/pkgtools/pkg_install/files/add/perform.c index 6779e304c93..33f4c36f631 100644 --- a/pkgtools/pkg_install/files/add/perform.c +++ b/pkgtools/pkg_install/files/add/perform.c @@ -1,4 +1,4 @@ -/* $NetBSD: perform.c,v 1.5 2003/04/11 14:40:36 grant Exp $ */ +/* $NetBSD: perform.c,v 1.6 2003/04/17 13:50:54 grant Exp $ */ #if 0 #include <sys/cdefs.h> @@ -6,7 +6,7 @@ #if 0 static const char *rcsid = "from FreeBSD Id: perform.c,v 1.44 1997/10/13 15:03:46 jkh Exp"; #else -__RCSID("$NetBSD: perform.c,v 1.5 2003/04/11 14:40:36 grant Exp $"); +__RCSID("$NetBSD: perform.c,v 1.6 2003/04/17 13:50:54 grant Exp $"); #endif #endif #endif @@ -262,7 +262,7 @@ pkg_do(const char *pkg) * compress an average of 75%, so multiply by 4 for good measure. */ - if (!inPlace && min_free(playpen) < (u_long) sb.st_size * 4) { + if (!inPlace && min_free(playpen) < sb.st_size * 4) { warnx("projected size of %ld bytes exceeds available free space\n" "in %s. Please set your PKG_TMPDIR variable to point\n" "to a location with more free space and try again.", |