mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-10 03:01:44 +01:00
21 lines
438 B
Diff
21 lines
438 B
Diff
--- ./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;
|