diff options
Diffstat (limited to 'core/fxcrt/extension.h')
-rw-r--r-- | core/fxcrt/extension.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/extension.h b/core/fxcrt/extension.h index a8a099c664..b0e7b9e117 100644 --- a/core/fxcrt/extension.h +++ b/core/fxcrt/extension.h @@ -241,7 +241,7 @@ class CFX_MemoryStream final : public IFX_MemoryStream { } FX_BOOL Flush() override { return TRUE; } FX_BOOL IsConsecutive() const override { - return m_dwFlags & FX_MEMSTREAM_Consecutive; + return !!(m_dwFlags & FX_MEMSTREAM_Consecutive); } void EstimateSize(size_t nInitSize, size_t nGrowSize) override { if (m_dwFlags & FX_MEMSTREAM_Consecutive) { |