summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/dmenu.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-02-28 21:49:33 +0000
committerjhb <jhb@FreeBSD.org>2006-02-28 21:49:33 +0000
commit1ec49d602a80028377023a0fdc8f11d6281a3b18 (patch)
tree29ca37782709cff55cee2300ecd6319423660211 /usr.sbin/sysinstall/dmenu.c
parent6dd5abcf92dd9a747d9ec038a372392b97daf728 (diff)
downloadFreeBSD-src-1ec49d602a80028377023a0fdc8f11d6281a3b18.zip
FreeBSD-src-1ec49d602a80028377023a0fdc8f11d6281a3b18.tar.gz
Fix numerous warnings. Aside from menu items in system.c and menu.c
this now compiles on i386 with WARNS?= 3. Most of the fixes included adding missing 'static' keywords to internal functions, using fully-defined terminators in statically defined arrays of structs, and various signed vs unsigned mismatches. Also G/C'd unused configSecurity() function.
Diffstat (limited to 'usr.sbin/sysinstall/dmenu.c')
-rw-r--r--usr.sbin/sysinstall/dmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/dmenu.c b/usr.sbin/sysinstall/dmenu.c
index aed89d8..a197188 100644
--- a/usr.sbin/sysinstall/dmenu.c
+++ b/usr.sbin/sysinstall/dmenu.c
@@ -261,7 +261,7 @@ dmenuVarsCheck(dialogMenuItem *item)
int
dmenuRadioCheck(dialogMenuItem *item)
{
- return (*((unsigned int *)item->data) == item->aux);
+ return (*((int *)item->data) == item->aux);
}
static int
OpenPOWER on IntegriCloud