Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37764051
en ru br
ALT Linux repositórios
S:2.1.5-alt5
5.0: 2.1.5-alt3

Group :: Desenvolvimento/C++
RPM: Inventor

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: Inventor-2.1.5-31-32.diff
Download


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() );
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009