Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37894068
en ru br
ALT Linux repos
S:2.1.5-alt5
5.0: 2.1.5-alt3

Group :: Development/C++
RPM: Inventor

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: Inventor-2.1.5-64bit.patch
Download


--- a/lib/database/src/so/SoOutput.c++.orig	2018-06-20 20:26:57.995408113 +0300
+++ b/lib/database/src/so/SoOutput.c++	2018-06-20 20:32:53.621129264 +0300
@@ -1462,11 +1462,8 @@
 
     // Generates a CC warning. Ho hum.
     if (refDict->find((unsigned long) base, ref))
-#if (_MIPS_SZPTR == 64 || __ia64__ || __x86_64__ || __powerpc64__)
-        referenceId = (int) ((unsigned long) ref);
-#else
-	referenceId = (int)ref;
-#endif
+        referenceId = (intptr_t)ref;
+
 
     return referenceId;
 }
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin