diff options
author | tsepez <tsepez@chromium.org> | 2016-10-26 15:33:58 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-26 15:33:58 -0700 |
commit | f39074c0ae47a84c496782f8b75bcce1e1cfdf59 (patch) | |
tree | 077b7f12bff3c4aa4d53c6b74fa32e613cc73a27 /core/fxcrt/fx_basic_buffer.cpp | |
parent | e5cb0b191aed020da99757c117dae014ea65c6ba (diff) | |
download | pdfium-f39074c0ae47a84c496782f8b75bcce1e1cfdf59.tar.xz |
Fix some FX_BOOL / int noise in fxcrt.chromium/2902
Review-Url: https://codereview.chromium.org/2450183003
Diffstat (limited to 'core/fxcrt/fx_basic_buffer.cpp')
-rw-r--r-- | core/fxcrt/fx_basic_buffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/fx_basic_buffer.cpp b/core/fxcrt/fx_basic_buffer.cpp index e954224d8a..8466e88c56 100644 --- a/core/fxcrt/fx_basic_buffer.cpp +++ b/core/fxcrt/fx_basic_buffer.cpp @@ -244,7 +244,7 @@ bool CFX_FileBufferArchive::Flush() { return false; if (!m_pBuffer || !nRemaining) return true; - return m_pFile->WriteBlock(m_pBuffer.get(), nRemaining) > 0; + return m_pFile->WriteBlock(m_pBuffer.get(), nRemaining); } int32_t CFX_FileBufferArchive::AppendBlock(const void* pBuf, size_t size) { |