summaryrefslogtreecommitdiffstats
path: root/main/libxfont/patcache.patch
blob: 6555babc4c39da5142abb715fa67e15340e57193 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ./src/util/patcache.c.orig
+++ ./src/util/patcache.c
@@ -128,7 +128,7 @@
 /* add entry */
 void
 CacheFontPattern (FontPatternCachePtr cache,
-		  char *pattern,
+		  const char *pattern,
 		  int patlen,
 		  FontPtr pFont)
 {
@@ -174,7 +174,7 @@
 /* find matching entry */
 FontPtr
 FindCachedFontPattern (FontPatternCachePtr cache,
-		       char *pattern,
+		       const char *pattern,
 		       int patlen)
 {
     int				hash;