diff -ur inventor.orig/lib/database/src/so/SoInput.c++ inventor/lib/database/src/so/SoInput.c++ --- inventor.orig/lib/database/src/so/SoInput.c++ 2000-10-26 02:47:47.000000000 +0300 +++ inventor/lib/database/src/so/SoInput.c++ 2009-08-06 17:50:59.000000000 +0300 @@ -2810,7 +2810,7 @@ if (addToGlobalDict) { // Look for the first '+': - char *firstPlus = strchr(n, '+'); + const char *firstPlus = strchr(n, '+'); if (firstPlus == NULL) { base->setName(name); diff -ur inventor.orig/lib/interaction/src/nodekits/SoInteractionKit.c++ inventor/lib/interaction/src/nodekits/SoInteractionKit.c++ --- inventor.orig/lib/interaction/src/nodekits/SoInteractionKit.c++ 2000-08-15 15:56:25.000000000 +0300 +++ inventor/lib/interaction/src/nodekits/SoInteractionKit.c++ 2009-08-06 17:55:56.000000000 +0300 @@ -854,8 +854,8 @@ // (as in "childList[0].appearance") // If so, get the string up to whichever came first. // This will be the 'intermediary' we look for. - char *dotPtr = strchr( partName.getString(), '.' ); - char *brackPtr = strchr( partName.getString(), '[' ); + const char *dotPtr = strchr( partName.getString(), '.' ); + const char *brackPtr = strchr( partName.getString(), '[' ); if ( dotPtr != NULL || brackPtr != NULL ) { char *nameCopy = strdup( partName.getString() );