Signed-off-by: Thomas Klausner <[email protected]>
---
 src/util/patcache.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/util/patcache.c b/src/util/patcache.c
index 2101015..5efe258 100644
--- a/src/util/patcache.c
+++ b/src/util/patcache.c
@@ -128,7 +128,7 @@ Hash (const char *string, int len)
 /* add entry */
 void
 CacheFontPattern (FontPatternCachePtr cache,
-                 const char *pattern,
+                 char *pattern,
                  int patlen,
                  FontPtr pFont)
 {
@@ -174,7 +174,7 @@ CacheFontPattern (FontPatternCachePtr cache,
 /* find matching entry */
 FontPtr
 FindCachedFontPattern (FontPatternCachePtr cache,
-                      const char *pattern,
+                      char *pattern,
                       int patlen)
 {
     int                                hash;
-- 
1.9.0

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to