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

Commit 1107938d authored by Shruthi Krishna's avatar Shruthi Krishna Committed by Brandon McAnsh
Browse files

mkbootimg: fixing the typecast issue

Change-Id: Ic375089ecce7aed3f9968e5e0b48e8ae0df66d83
parent 396224f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -299,7 +299,7 @@ int main(int argc, char **argv)
    }

    if(dt_data) {
        if(write(fd, dt_data, hdr.dt_size) != hdr.dt_size) goto fail;
        if(write(fd, dt_data, hdr.dt_size) != (ssize_t) hdr.dt_size) goto fail;
        if(write_padding(fd, pagesize, hdr.dt_size)) goto fail;
    }
    return 0;