aboutsummaryrefslogtreecommitdiff
path: root/tests/golden_output/frozen/aidl-test-interface-cpp-source/gen/android/aidl/tests/DeprecatedParcelable.cpp
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-28 21:19:22 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-28 21:19:22 +0000
commit9756cc38c008cc9a6908974be645a67de378bf6d (patch)
tree095ae97ff873c3cbedce63a811349c827e246627 /tests/golden_output/frozen/aidl-test-interface-cpp-source/gen/android/aidl/tests/DeprecatedParcelable.cpp
parent363157cd5df1800f22abdcbe14860ab1f532416d (diff)
parent4cb72e21e9f1aa905ce239f61b3b6b8314e5b815 (diff)
downloadaidl-simpleperf-release.tar.gz
Snap for 11510257 from 4cb72e21e9f1aa905ce239f61b3b6b8314e5b815 to simpleperf-releasesimpleperf-release
Change-Id: Id8167d8f7893c8f41c851975180587e20a6075f3
Diffstat (limited to 'tests/golden_output/frozen/aidl-test-interface-cpp-source/gen/android/aidl/tests/DeprecatedParcelable.cpp')
-rw-r--r--tests/golden_output/frozen/aidl-test-interface-cpp-source/gen/android/aidl/tests/DeprecatedParcelable.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/golden_output/frozen/aidl-test-interface-cpp-source/gen/android/aidl/tests/DeprecatedParcelable.cpp b/tests/golden_output/frozen/aidl-test-interface-cpp-source/gen/android/aidl/tests/DeprecatedParcelable.cpp
index 0d9362b6..cd1bdf49 100644
--- a/tests/golden_output/frozen/aidl-test-interface-cpp-source/gen/android/aidl/tests/DeprecatedParcelable.cpp
+++ b/tests/golden_output/frozen/aidl-test-interface-cpp-source/gen/android/aidl/tests/DeprecatedParcelable.cpp
@@ -23,11 +23,11 @@ namespace tests {
}
::android::status_t DeprecatedParcelable::writeToParcel(::android::Parcel* _aidl_parcel) const {
::android::status_t _aidl_ret_status = ::android::OK;
- auto _aidl_start_pos = _aidl_parcel->dataPosition();
+ size_t _aidl_start_pos = _aidl_parcel->dataPosition();
_aidl_parcel->writeInt32(0);
- auto _aidl_end_pos = _aidl_parcel->dataPosition();
+ size_t _aidl_end_pos = _aidl_parcel->dataPosition();
_aidl_parcel->setDataPosition(_aidl_start_pos);
- _aidl_parcel->writeInt32(_aidl_end_pos - _aidl_start_pos);
+ _aidl_parcel->writeInt32(static_cast<int32_t>(_aidl_end_pos - _aidl_start_pos));
_aidl_parcel->setDataPosition(_aidl_end_pos);
return _aidl_ret_status;
}