summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorgallatin <gallatin@FreeBSD.org>2002-10-24 17:27:32 +0000
committergallatin <gallatin@FreeBSD.org>2002-10-24 17:27:32 +0000
commit09a6e47dc00517f0f84bbbac49dfdefac9609f25 (patch)
tree5decf061cb2cb41ae150950a6abbd537a43d0076 /usr.sbin/pkg_install
parent19c2ebcc00187b7c0f6c5fa4ce92b80b2c20e8da (diff)
downloadFreeBSD-src-09a6e47dc00517f0f84bbbac49dfdefac9609f25.zip
FreeBSD-src-09a6e47dc00517f0f84bbbac49dfdefac9609f25.tar.gz
getbsize() now takes a pointer to a size_t as its first arg. A pointer
to an int no longer works on an LP64 platform...
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/info/show.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/info/show.c b/usr.sbin/pkg_install/info/show.c
index e26888d..640a1ed 100644
--- a/usr.sbin/pkg_install/info/show.c
+++ b/usr.sbin/pkg_install/info/show.c
@@ -233,7 +233,7 @@ show_size(const char *title, Package *plist)
char tmp[FILENAME_MAX];
unsigned long size = 0;
long blksize;
- int headerlen;
+ size_t headerlen;
char *descr;
descr = getbsize(&headerlen, &blksize);
OpenPOWER on IntegriCloud