0024186: Eliminate remaining compiler warnings in MSVC++ 2010 64 bit with warning...
[occt.git] / src / LDOM / LDOM_MemManager.cxx
index 15dd4e8..b0d7fd1 100755 (executable)
@@ -84,7 +84,7 @@ void * LDOM_MemManager::MemBlock::AllocateAndCheck
                          const LDOM_MemManager::MemBlock *& aFirstWithoutRoom)
 {
   void * aResult = NULL;
-  Standard_Integer aRoom = myEndBlock - myFreeSpace;
+  Standard_Integer aRoom = (Standard_Integer)(myEndBlock - myFreeSpace);
   if (aSize <= aRoom) {
     aResult = myFreeSpace;
     myFreeSpace += aSize;