Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > eee726f4f9586c155714b14ccf2bb78b > files > 3

Inventor-2.1.5-40.fc15.src.rpm

diff -Naur inventor-2.1.5-33/lib/database/src/so/SoInput.c++ inventor/lib/database/src/so/SoInput.c++
--- inventor-2.1.5-33/lib/database/src/so/SoInput.c++	2000-10-26 01:47:47.000000000 +0200
+++ inventor/lib/database/src/so/SoInput.c++	2009-02-19 03:49:39.000000000 +0100
@@ -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 -Naur inventor-2.1.5-33/lib/interaction/src/nodekits/SoInteractionKit.c++ inventor/lib/interaction/src/nodekits/SoInteractionKit.c++
--- inventor-2.1.5-33/lib/interaction/src/nodekits/SoInteractionKit.c++	2000-08-15 14:56:25.000000000 +0200
+++ inventor/lib/interaction/src/nodekits/SoInteractionKit.c++	2009-02-19 04:06:47.000000000 +0100
@@ -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() );