summaryrefslogtreecommitdiff
blob: d500f64004bcaf9174d24f5dd22751f4883acef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
https://bugs.gentoo.org/show_bug.cgi?id=376451

--- a/src/wmapp.cc
+++ b/src/wmapp.cc
@@ -337,7 +337,7 @@
             char ** fontPath(XGetFontPath(xapp->display(), &ndirs));
 
             char ** newFontPath = new char *[ndirs + 1];
-            newFontPath[ndirs] = fontsdir;
+            newFontPath[ndirs] = (char *)fontsdir;
 
             if (fontPath)
                 memcpy(newFontPath, fontPath, ndirs * sizeof (char *));