Index: core/fxcrt/extension.h |
diff --git a/core/fxcrt/extension.h b/core/fxcrt/extension.h |
index a8a099c664bb567f1d75bf623b4d4f028a1b1c30..b0e7b9e117ef519b65524001eb00cbc2ea3f5c7f 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) { |