am b380d7ee: am b1e4e89b: Merge "Fix incorrect usage of bool"

* commit 'b380d7eeee2ea73bcd2bfdf0b0b3339ab93ff75c':
  Fix incorrect usage of bool
This commit is contained in:
Chih-hung Hsieh
2014-11-19 18:15:08 +00:00
committed by Android Git Automerger

View File

@@ -155,7 +155,7 @@ static bool writeAllBytes(const int fd, const void* buffer, const size_t byteCou
static int writeBlock(FPDF_FILEWRITE* owner, const void* buffer, unsigned long size) {
const PdfToFdWriter* writer = reinterpret_cast<PdfToFdWriter*>(owner);
const bool success = writeAllBytes(writer->dstFd, buffer, size);
if (success < 0) {
if (!success) {
ALOGE("Cannot write to file descriptor. Error:%d", errno);
return 0;
}