Index: core/src/fxcrt/extension.h |
diff --git a/core/src/fxcrt/extension.h b/core/src/fxcrt/extension.h |
index d04d1da55011a2fd93afb1b25b9adbdbc01d7993..6221d14fc7be9f711779ea1f6ea32738cb9ae65c 100644 |
--- a/core/src/fxcrt/extension.h |
+++ b/core/src/fxcrt/extension.h |
@@ -230,7 +230,7 @@ public: |
offset = safeOffset.ValueOrDie(); |
- FX_SAFE_SIZET newPos = size; |
+ FX_SAFE_SIZE_T newPos = size; |
newPos += offset; |
if (!newPos.IsValid() || newPos.ValueOrDefault(0) == 0 || newPos.ValueOrDie() >= m_nCurSize) { |
return FALSE; |
@@ -282,7 +282,7 @@ public: |
offset += (FX_FILESIZE)m_nOffset; |
} |
if (m_dwFlags & FX_MEMSTREAM_Consecutive) { |
- FX_SAFE_SIZET newPos = size; |
+ FX_SAFE_SIZE_T newPos = size; |
newPos += offset; |
if (!newPos.IsValid()) |
return FALSE; |
@@ -308,7 +308,7 @@ public: |
return TRUE; |
} |
- FX_SAFE_SIZET newPos = size; |
+ FX_SAFE_SIZE_T newPos = size; |
newPos += offset; |
if (!newPos.IsValid()) { |
return FALSE; |