OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't pad before calling writeInPlace().
[android-x86/frameworks-native.git]
/
libs
/
binder
/
Parcel.cpp
diff --git
a/libs/binder/Parcel.cpp
b/libs/binder/Parcel.cpp
index
e5a9346
..
c3a31fb
100644
(file)
--- a/
libs/binder/Parcel.cpp
+++ b/
libs/binder/Parcel.cpp
@@
-1285,7
+1285,7
@@
status_t Parcel::write(const FlattenableHelperInterface& val)
if (err) return err;
// payload
- void* const buf = this->writeInplace(
pad_size(len)
);
+ void* const buf = this->writeInplace(
len
);
if (buf == NULL)
return BAD_VALUE;