diff -ur graphtft-0.2.2.orig/display.c graphtft-0.2.2/display.c --- graphtft-0.2.2.orig/display.c 2008-11-01 16:20:50.000000000 +0200 +++ graphtft-0.2.2/display.c 2009-07-24 21:08:35.000000000 +0300 @@ -141,7 +141,7 @@ int cGraphTFTDisplay::Init(const char* dev, const char* cfgDir, int port) { - char* pos = 0; + const char* pos = 0; int devnum = na; #ifdef HAVE_DFB