Группа :: Разработка/C++
Пакет: Inventor
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: Inventor-2.1.5-64bit.patch
Скачать
Скачать
--- 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;
}