summaryrefslogtreecommitdiff
path: root/lib/libc/yp/ypprot_err.c
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-12-14 06:49:48 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-12-14 06:49:48 +0000
commit4710cee5ae9d061cf473bea056acdd4b8c8ce7c9 (patch)
tree34d25eb6b04d160d108a4b861891d8a86ad09b88 /lib/libc/yp/ypprot_err.c
parenta397beefe4d81184307c7db3393b718a7ba2ab0c (diff)
Clean up lint and compile warnings
Diffstat (limited to 'lib/libc/yp/ypprot_err.c')
-rw-r--r--lib/libc/yp/ypprot_err.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/yp/ypprot_err.c b/lib/libc/yp/ypprot_err.c
index 89682a471f3..20873ffc1a1 100644
--- a/lib/libc/yp/ypprot_err.c
+++ b/lib/libc/yp/ypprot_err.c
@@ -30,7 +30,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: ypprot_err.c,v 1.3 1996/08/19 08:35:13 tholo Exp $";
+static char *rcsid = "$OpenBSD: ypprot_err.c,v 1.4 1996/12/14 06:49:47 tholo Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/param.h>
@@ -52,7 +52,7 @@ int
ypprot_err(incode)
unsigned int incode;
{
- switch (incode) {
+ switch ((int)incode) {
case YP_TRUE:
return 0;
case YP_FALSE: