1diff -urw nxcomp-orig/Loop.cpp nxcomp/Loop.cpp 2--- nxcomp-orig/Loop.cpp 2008-04-14 15:39:06.000000000 +0200 3+++ nxcomp/Loop.cpp 2009-05-12 18:18:03.831276831 +0200 4@@ -10979,7 +10979,7 @@ 5 packMethod == PACK_LOSSLESS || 6 packMethod == PACK_ADAPTIVE) 7 { 8- char *dash = rindex(opt, '-'); 9+ const char *dash = rindex(opt, '-'); 10 11 if (dash != NULL && strlen(dash) == 2 && 12 *(dash + 1) >= '0' && *(dash + 1) <= '9') 13