diff options
Diffstat (limited to 'core/fxcrt/cfx_binarybuf.cpp')
-rw-r--r-- | core/fxcrt/cfx_binarybuf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/cfx_binarybuf.cpp b/core/fxcrt/cfx_binarybuf.cpp index d1bd05385d..3673fa58d4 100644 --- a/core/fxcrt/cfx_binarybuf.cpp +++ b/core/fxcrt/cfx_binarybuf.cpp @@ -49,7 +49,7 @@ void CFX_BinaryBuf::EstimateSize(size_t size, size_t step) { } void CFX_BinaryBuf::ExpandBuf(size_t add_size) { - FX_SAFE_STRSIZE new_size = m_DataSize; + FX_SAFE_SIZE_T new_size = m_DataSize; new_size += add_size; if (m_AllocSize >= new_size.ValueOrDie()) return; |