diff options
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/servicemanager/binder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/servicemanager/binder.c b/cmds/servicemanager/binder.c index 918d4d4..1985756 100644 --- a/cmds/servicemanager/binder.c +++ b/cmds/servicemanager/binder.c @@ -412,7 +412,7 @@ void bio_init(struct binder_io *bio, void *data, return; } - bio->data = bio->data0 = data + n; + bio->data = bio->data0 = (char *) data + n; bio->offs = bio->offs0 = data; bio->data_avail = maxdata - n; bio->offs_avail = maxoffs; |