Unreviewed attempt to fix the 32bit build after r197782.
[WebKit-https.git] / Source / WebCore / platform / MemoryPressureHandler.cpp
index 032dd32..fd5a59a 100644 (file)
@@ -196,7 +196,7 @@ void MemoryPressureHandler::ReliefLogger::logMemoryUsageChange()
         return;
     }
 
         return;
     }
 
-    ptrdiff_t memoryDiff = currentMemory - m_initialMemory;
+    long memoryDiff = currentMemory - m_initialMemory;
     if (memoryDiff < 0)
         MEMORYPRESSURE_LOG("Memory pressure relief: " STRING_SPECIFICATION ": -dirty %ld bytes (from %lu to %lu)", m_logString, (memoryDiff * -1), m_initialMemory, currentMemory);
     else if (memoryDiff > 0)
     if (memoryDiff < 0)
         MEMORYPRESSURE_LOG("Memory pressure relief: " STRING_SPECIFICATION ": -dirty %ld bytes (from %lu to %lu)", m_logString, (memoryDiff * -1), m_initialMemory, currentMemory);
     else if (memoryDiff > 0)