diff font/font_peer_ft2.cc @ 47:5f548e5957a8

* get rid of the "deprecated conversion from string constant to ‘char*’" warnings
author thib
date Wed, 15 Apr 2009 20:26:32 +0000
parents 223b71206888
children 15a18fbe6f21
line wrap: on
line diff
--- a/font/font_peer_ft2.cc
+++ b/font/font_peer_ft2.cc
@@ -49,7 +49,7 @@ typedef struct _FontLibrary {
 
 static FontLibrary *library = NULL;
 
-static char *default_paths[] = {
+static const char *default_paths[] = {
   ".",
   "/",
   "/usr/X11R6/lib/X11/fonts/TrueType",