summaryrefslogtreecommitdiff
path: root/print/ghostscript/patches/patch-ae
blob: 32c05a88e1babb26e13d4ef4e6df845fdccae478 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ae,v 1.3 2008/03/05 19:12:16 drochner Exp $

--- src/gscencs.c.orig	2008-03-05 20:02:12.000000000 +0100
+++ src/gscencs.c
@@ -117,7 +117,7 @@ bool
 gs_is_c_glyph_name(const byte *str, uint len)
 {
     return (str >= (const byte *)gs_c_known_encoding_chars &&
-	    (str - (const byte *)gs_c_known_encoding_chars) <
+	    (unsigned long)(str - (const byte *)gs_c_known_encoding_chars) <
 	      gs_c_known_encoding_total_chars);
 }