summaryrefslogtreecommitdiffstats
path: root/chromeos/binder/command_broker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos/binder/command_broker.cc')
-rw-r--r--chromeos/binder/command_broker.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromeos/binder/command_broker.cc b/chromeos/binder/command_broker.cc
index f4a74f1..3fefc47 100644
--- a/chromeos/binder/command_broker.cc
+++ b/chromeos/binder/command_broker.cc
@@ -33,7 +33,7 @@ binder_transaction_data ConvertTransactionDataToStruct(
}
result.data_size = data.GetDataSize();
result.data.ptr.buffer = reinterpret_cast<binder_uintptr_t>(data.GetData());
- result.offsets_size = data.GetNumObjectOffsets() * sizeof(size_t);
+ result.offsets_size = data.GetNumObjectOffsets() * sizeof(binder_size_t);
result.data.ptr.offsets =
reinterpret_cast<binder_uintptr_t>(data.GetObjectOffsets());
return result;