summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bootparamd/bootparamd
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bootparamd/bootparamd')
-rw-r--r--usr.sbin/bootparamd/bootparamd/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bootparamd/bootparamd/main.c b/usr.sbin/bootparamd/bootparamd/main.c
index 87b8f96..38ef356 100644
--- a/usr.sbin/bootparamd/bootparamd/main.c
+++ b/usr.sbin/bootparamd/bootparamd/main.c
@@ -47,10 +47,10 @@ char **argv;
SVCXPRT *transp;
struct hostent *he;
struct stat buf;
- char c;
+ int c;
while ((c = getopt(argc, argv,"dsr:f:")) != -1)
- switch (c) {
+ switch ((char)c) {
case 'd':
debug = 1;
break;
OpenPOWER on IntegriCloud