$NetBSD: patch-ae,v 1.1 2011/01/25 09:07:58 obache Exp $

* catch `getopt' with `int' to cath `-1' correctly.

--- pam_af_tool/pam_af_tool.c.orig	2005-10-15 13:26:37.000000000 +0000
+++ pam_af_tool/pam_af_tool.c
@@ -199,7 +199,8 @@ handle_ruleadd(argc, argv)
 	datum			key, data;
 	struct myaddrinfo	*res, *res0;
 	char			buf[1024], *tmp;
-	char			ch, *ep;
+	int			ch;
+	char			*ep;
 	int			flags = 0, dbflags;
 	int			ret;
 
