$OpenBSD: patch-cgi-bin_admin_c,v 1.5 2009/07/12 19:58:19 ajacoutot Exp $
--- cgi-bin/admin.c.orig	Thu Jun 18 23:42:45 2009
+++ cgi-bin/admin.c	Mon Jul  6 11:56:21 2009
@@ -414,7 +414,7 @@ do_am_class(http_t *http,		/* I - HTTP connection */
 		*response;		/* IPP response */
   ipp_attribute_t *attr;		/* member-uris attribute */
   char		uri[HTTP_MAX_URI];	/* Device or printer URI */
-  const char	*name,			/* Pointer to class name */
+  const signed char	*name,			/* Pointer to class name */
 		*ptr;			/* Pointer to CGI variable */
   const char	*title;			/* Title of page */
   static const char * const pattrs[] =	/* Requested printer attributes */
@@ -701,7 +701,7 @@ do_am_printer(http_t *http,		/* I - HTTP connection */
 		*uriptr;		/* Pointer into URI */
   int		maxrate;		/* Maximum baud rate */
   char		baudrate[255];		/* Baud rate string */
-  const char	*name,			/* Pointer to class name */
+  const signed char	*name,			/* Pointer to class name */
 		*ptr;			/* Pointer to CGI variable */
   const char	*title;			/* Title of page */
   static int	baudrates[] =		/* Baud rates */
