Bugfix: Wrong 32/64bit check was used which resulted in a 2GB limit for some 64bit...
[blender.git] / intern / elbeem / intern / solver_init.cpp
index b0ce130c13684b330360ee57a6c27aa39c593aea..c953d2f47da66979878b645e62bfc1f28aec0679 100644 (file)
@@ -703,7 +703,7 @@ bool LbmFsgrSolver::initializeSolverMemory()
                        memBlockAllocProblem = true;
                }
 #endif // Mac
-               if(sizeof(int)==4 && memEstFine>maxDefaultMemChunk) {
+               if(sizeof(void *)==4 && memEstFine>maxDefaultMemChunk) {
                        // max memory chunk for 32bit systems 2gig
                        memBlockAllocProblem = true;
                }