summaryrefslogtreecommitdiff
path: root/Parcel.cpp
diff options
context:
space:
mode:
authorJiabin Huang <jiabin@google.com>2020-07-30 00:57:31 +0000
committerJiabin Huang <jiabin@google.com>2020-07-30 00:57:36 +0000
commit71adc0566418405e5518e01e6eb0a12e7b19f055 (patch)
tree8da00670373d6395f4b4f41ec0fab16e137ae1e1 /Parcel.cpp
parentf050d28c33a226769e55e60072c06c733602049c (diff)
downloadlibhwbinder-71adc0566418405e5518e01e6eb0a12e7b19f055.tar.gz
Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference BUG=161896447 Change-Id: I794af0bef966ec88d7ee6b5f5d66969571f04317
Diffstat (limited to 'Parcel.cpp')
-rw-r--r--Parcel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parcel.cpp b/Parcel.cpp
index 2e477d2..a1af61d 100644
--- a/Parcel.cpp
+++ b/Parcel.cpp
@@ -465,7 +465,7 @@ void* Parcel::writeInplace(size_t len)
const size_t padded = pad_size(len);
- // sanity check for integer overflow
+ // validate for integer overflow
if (mDataPos+padded < mDataPos) {
return nullptr;
}