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

Commit 1b4d6049 authored by Glenn Kasten's avatar Glenn Kasten Committed by Android (Google) Code Review
Browse files

Merge "Fix build warning for void * arithmetic"

parents f17e7c27 77b07ff2
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -412,7 +412,7 @@ void bio_init(struct binder_io *bio, void *data,
        return;
        return;
    }
    }


    bio->data = bio->data0 = data + n;
    bio->data = bio->data0 = (char *) data + n;
    bio->offs = bio->offs0 = data;
    bio->offs = bio->offs0 = data;
    bio->data_avail = maxdata - n;
    bio->data_avail = maxdata - n;
    bio->offs_avail = maxoffs;
    bio->offs_avail = maxoffs;