openbsd-ports/graphics/ImageMagick/patches/patch-utilities_cgimagick_c
2002-09-15 03:52:04 +00:00

14 lines
589 B
Plaintext

$OpenBSD: patch-utilities_cgimagick_c,v 1.2 2002/09/15 03:52:04 brad Exp $
$OpenBSD: patch-utilities_cgimagick_c,v 1.2 2002/09/15 03:52:04 brad Exp $
--- utilities/cgimagick.c.orig Sun Dec 10 16:16:29 2000
+++ utilities/cgimagick.c Mon Feb 18 17:31:39 2002
@@ -131,7 +131,7 @@ int CGIFifo(const Image *image,const voi
*/
int DecodeHex(const char **input,size_t outmax)
{
- static char
+ static signed char
hex_to_bin [128] = {
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, /* */
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1, /* */