Bugfix: Wrong 32/64bit check was used which resulted in a 2GB limit for some 64bit architecture

This commit is contained in:
Daniel Genrich 2007-11-25 17:10:11 +00:00
parent 4018dfd28f
commit 63ef1dfb02

@ -703,7 +703,7 @@ bool LbmFsgrSolver::initializeSolverMemory()
memBlockAllocProblem = true; memBlockAllocProblem = true;
} }
#endif // Mac #endif // Mac
if(sizeof(int)==4 && memEstFine>maxDefaultMemChunk) { if(sizeof(void *)==4 && memEstFine>maxDefaultMemChunk) {
// max memory chunk for 32bit systems 2gig // max memory chunk for 32bit systems 2gig
memBlockAllocProblem = true; memBlockAllocProblem = true;
} }