Loop.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: nxcomp-3.2.0-7/Loop.cpp
===================================================================
--- nxcomp-3.2.0-7.orig/Loop.cpp 2009-09-26 16:54:36.000000000 +0200
+++ nxcomp-3.2.0-7/Loop.cpp 2009-09-26 16:54:16.000000000 +0200
@@ -10979,7 +10979,7 @@
packMethod == PACK_LOSSLESS ||
packMethod == PACK_ADAPTIVE)
{
- char *dash = rindex(opt, '-');
+ const char *dash = rindex(opt, '-');
if (dash != NULL && strlen(dash) == 2 &&
*(dash + 1) >= '0' && *(dash + 1) <= '9')