summaryrefslogtreecommitdiffstats
path: root/lib/libwrap/options.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2002-05-27 03:13:23 +0000
committerderaadt <deraadt@openbsd.org>2002-05-27 03:13:23 +0000
commit042896d636adef02e56b22f5b6b4d6bd03dae7a9 (patch)
tree7a70b78a3d0f4f10da1fdc0330be5d30471512bd /lib/libwrap/options.c
parentframework to add af-dependent data structure to struct ifnet. (diff)
downloadwireguard-openbsd-042896d636adef02e56b22f5b6b4d6bd03dae7a9.tar.xz
wireguard-openbsd-042896d636adef02e56b22f5b6b4d6bd03dae7a9.zip
unsigned vs unsigned int
Diffstat (limited to 'lib/libwrap/options.c')
-rw-r--r--lib/libwrap/options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libwrap/options.c b/lib/libwrap/options.c
index 411cf72b2ef..53a3a449a5d 100644
--- a/lib/libwrap/options.c
+++ b/lib/libwrap/options.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: options.c,v 1.2 1997/03/04 16:32:36 bitblt Exp $ */
+/* $OpenBSD: options.c,v 1.3 2002/05/27 03:13:23 deraadt Exp $ */
/*
* General skeleton for adding options to the access control language. The
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#) options.c 1.17 96/02/11 17:01:31";
#else
-static char rcsid[] = "$OpenBSD: options.c,v 1.2 1997/03/04 16:32:36 bitblt Exp $";
+static char rcsid[] = "$OpenBSD: options.c,v 1.3 2002/05/27 03:13:23 deraadt Exp $";
#endif
#endif
@@ -298,7 +298,7 @@ static void umask_option(value, request)
char *value;
struct request_info *request;
{
- unsigned mask;
+ unsigned int mask;
char junk;
if (sscanf(value, "%o%c", &mask, &junk) != 1 || (mask & 0777) != mask)