summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2002-01-17 04:27:38 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2002-01-17 04:27:38 +0000
commitb9c71a76d58092e71c7ac30dffbf7c99d10ac943 (patch)
tree871f8256deb14710eb735bcc2ef67e6c5c262374 /usr.bin
parent0dbcc158f86fa5805bcc9314f49a74ab25ed85d9 (diff)
casts to silence enum type warnings for bugzilla bug 37; ok markus@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/log.c b/usr.bin/ssh/log.c
index 6cbdc8057ab..175330358a1 100644
--- a/usr.bin/ssh/log.c
+++ b/usr.bin/ssh/log.c
@@ -34,7 +34,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: log.c,v 1.19 2001/12/19 07:18:56 deraadt Exp $");
+RCSID("$OpenBSD: log.c,v 1.20 2002/01/17 04:27:37 stevesk Exp $");
#include "log.h"
#include "xmalloc.h"
@@ -65,7 +65,7 @@ static struct {
{ "LOCAL5", SYSLOG_FACILITY_LOCAL5 },
{ "LOCAL6", SYSLOG_FACILITY_LOCAL6 },
{ "LOCAL7", SYSLOG_FACILITY_LOCAL7 },
- { NULL, 0 }
+ { NULL, (SyslogFacility)0 }
};
static struct {
@@ -82,7 +82,7 @@ static struct {
{ "DEBUG1", SYSLOG_LEVEL_DEBUG1 },
{ "DEBUG2", SYSLOG_LEVEL_DEBUG2 },
{ "DEBUG3", SYSLOG_LEVEL_DEBUG3 },
- { NULL, 0 }
+ { NULL, (LogLevel)0 }
};
static void do_log(LogLevel level, const char *fmt, va_list args);