aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-01-10 00:22:34 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-01-10 00:22:34 +0000
commit4cbdf70da340bf35d9bfb3135a9e351a5028c013 (patch)
tree2b03e2bb69158ad406ed6a097b3702c252415572
parent7f6e5452ea8570b9f008337d4e8f4165d8d6ebcb (diff)
parent42d8ea6bd9fff0fdb0e437fe52a19cdd39063d7b (diff)
downloaddittosuite-4cbdf70da340bf35d9bfb3135a9e351a5028c013.tar.gz
Snap for 11292864 from 42d8ea6bd9fff0fdb0e437fe52a19cdd39063d7b to sdk-release
Change-Id: I723cc8bb10aca74ec2f2d6afc5d0bb06f46dab04
-rw-r--r--src/binder_request.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/binder_request.cpp b/src/binder_request.cpp
index a99efcd..d9a31b3 100644
--- a/src/binder_request.cpp
+++ b/src/binder_request.cpp
@@ -28,9 +28,9 @@ BinderRequestDitto::BinderRequestDitto(const Params& params, const std::string&
: BinderRequest(kName, params, service_name) {}
void BinderRequestDitto::RunSingle() {
- const char c = 1;
+ const int8_t c = 1;
- char ret = service_->sync(c);
+ int8_t ret = service_->sync(c);
if (ret != (~c)) {
LOGF("Wrong result, expected: " + std::to_string(~c) + ", but got: " + std::to_string(ret));
}