summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-05-20 09:55:41 +0000
committersobomax <sobomax@FreeBSD.org>2002-05-20 09:55:41 +0000
commit110842c75ed00588986c685c3c68abd01c9d5f6a (patch)
tree8bade6bcd1d9536bbb1adfd072c424c270b23b98 /usr.sbin/pkg_install
parentda85e76b35b749af869d3bac1e33fe3fa851ed12 (diff)
downloadFreeBSD-src-110842c75ed00588986c685c3c68abd01c9d5f6a.zip
FreeBSD-src-110842c75ed00588986c685c3c68abd01c9d5f6a.tar.gz
MFS: silence compiler warnings.
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/create/perform.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c
index 619e749..0be0c56 100644
--- a/usr.sbin/pkg_install/create/perform.c
+++ b/usr.sbin/pkg_install/create/perform.c
@@ -449,13 +449,13 @@ create_from_installed(const char *pkg, const char *suf)
read_plist(&plist, fp);
fclose(fp);
- Install = isfile(INSTALL_FNAME) ? INSTALL_FNAME : NULL;
- PostInstall = isfile(POST_INSTALL_FNAME) ? POST_INSTALL_FNAME : NULL;
- DeInstall = isfile(DEINSTALL_FNAME) ? DEINSTALL_FNAME : NULL;
- PostDeInstall = isfile(POST_DEINSTALL_FNAME) ? POST_DEINSTALL_FNAME : NULL;
- Require = isfile(REQUIRE_FNAME) ? REQUIRE_FNAME : NULL;
- Display = isfile(DISPLAY_FNAME) ? DISPLAY_FNAME : NULL;
- Mtree =isfile(MTREE_FNAME) ? MTREE_FNAME : NULL;
+ (const char *)Install = isfile(INSTALL_FNAME) ? INSTALL_FNAME : NULL;
+ (const char *)PostInstall = isfile(POST_INSTALL_FNAME) ? POST_INSTALL_FNAME : NULL;
+ (const char *)DeInstall = isfile(DEINSTALL_FNAME) ? DEINSTALL_FNAME : NULL;
+ (const char *)PostDeInstall = isfile(POST_DEINSTALL_FNAME) ? POST_DEINSTALL_FNAME : NULL;
+ (const char *)Require = isfile(REQUIRE_FNAME) ? REQUIRE_FNAME : NULL;
+ (const char *)Display = isfile(DISPLAY_FNAME) ? DISPLAY_FNAME : NULL;
+ (const char *)Mtree = isfile(MTREE_FNAME) ? MTREE_FNAME : NULL;
make_dist(homedir, pkg, suf, &plist);
OpenPOWER on IntegriCloud