openbsd-ports/print/cups/patches/patch-cgi-bin_admin_c
ajacoutot 9ba0e992d7 - don't force optimisation nor debug
- regen patches while here
2007-05-07 13:58:07 +00:00

22 lines
1.1 KiB
Plaintext

$OpenBSD: patch-cgi-bin_admin_c,v 1.3 2007/05/07 13:58:07 ajacoutot Exp $
--- cgi-bin/admin.c.orig Thu Aug 24 17:55:42 2006
+++ cgi-bin/admin.c Mon May 7 15:47:41 2007
@@ -237,7 +237,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 */
@@ -517,7 +517,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 */