Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0fd617d authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by Android Git Automerger
Browse files

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

* commit 'b380d7ee':
  Fix incorrect usage of bool
parents 5ed01f64 b380d7ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }