Commit a0614cd3140c66f56d3dcef772aed042e5cf9b41

sammy 2008-04-04T09:20:40

* Fix an illegal cast of a static string to a char* (has to be char const*).

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/demo/FTGLDemo.cpp b/demo/FTGLDemo.cpp
index 908366f..a993b4c 100644
--- a/demo/FTGLDemo.cpp
+++ b/demo/FTGLDemo.cpp
@@ -40,7 +40,7 @@
 #define FTGL_EXTRUDE 4
 #define FTGL_TEXTURE 5
 
-char* fontfile = FONT_FILE;
+char const* fontfile = FONT_FILE;
 int current_font = FTGL_EXTRUDE;
 
 GLint w_win = 640, h_win = 480;