These get rid of some warnings on picky compilers (like SGI's). It really
helps to get rid of warnings.
--- openssh-snap/log.c Wed Jul 4 13:46:58 2001
+++ openssh/log.c Mon Oct 15 17:34:26 2001
@@ -68,7 +68,7 @@
{ "LOCAL5", SYSLOG_FACILITY_LOCAL5 },
{ "LOCAL6", SYSLOG_FACILITY_LOCAL6 },
{ "LOCAL7", SYSLOG_FACILITY_LOCAL7 },
- { NULL, 0 }
+ { NULL, (SyslogFacility)0 }
};
static struct {
@@ -85,7 +85,7 @@
{ "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);
--- openssh-snap/readconf.c Thu Oct 4 02:39:39 2001
+++ openssh/readconf.c Mon Oct 15 17:34:26 2001
@@ -187,7 +193,7 @@
{ "smartcarddevice", oSmartcardDevice },
{ "clearallforwardings", oClearAllForwardings },
{ "nohostauthenticationforlocalhost",
oNoHostAuthenticationForLocalhost
- { NULL, 0 }
+ { NULL, (OpCodes)0 }
};
/*
--- openssh-snap/servconf.c Thu Sep 13 01:32:15 2001
+++ openssh/servconf.c Mon Oct 15 17:34:26 2001
@@ -317,7 +330,7 @@
{ "authorizedkeysfile", sAuthorizedKeysFile },
{ "authorizedkeysfile2", sAuthorizedKeysFile2 },
{ "PAMAuthenticationViaKbdInt", sPAMAuthenticationViaKbdInt },
- { NULL, 0 }
+ { NULL, (ServerOpCodes)0 }
};
/*