diff options
author | Glenn Kasten <gkasten@google.com> | 2012-01-12 09:45:16 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-01-19 08:08:30 -0800 |
commit | 77b07ff2c10becd3223c2ed6a6052f61c826b5a1 (patch) | |
tree | f2fb9c4efd28451f0283028ca6aaa9552f09f557 /cmds | |
parent | 92ecdd63033a53b3c6301a9dc94c2438e498f27b (diff) | |
download | frameworks_base-77b07ff2c10becd3223c2ed6a6052f61c826b5a1.zip frameworks_base-77b07ff2c10becd3223c2ed6a6052f61c826b5a1.tar.gz frameworks_base-77b07ff2c10becd3223c2ed6a6052f61c826b5a1.tar.bz2 |
Fix build warning for void * arithmetic
binder.c: In function 'bio_init':
binder.c:415: warning: pointer of type 'void *' used in arithmetic
Change-Id: I6926ad05e6dc7362331dffb6e8eca130955f25df
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; |