// constructor. Pass the ipc unique tag as input
explicit ActualCallParams(uint32 tag)
: CrossCallParams(tag, NUMBER_PARAMS) {
- param_info_[0].offset_ = parameters_ - reinterpret_cast<char*>(this);
+ param_info_[0].offset_ =
+ static_cast<uint32>(parameters_ - reinterpret_cast<char*>(this));
}
// Testing-only constructor. Allows setting the |number_params| to a
// wrong value.
ActualCallParams(uint32 tag, uint32 number_params)
: CrossCallParams(tag, number_params) {
- param_info_[0].offset_ = parameters_ - reinterpret_cast<char*>(this);
+ param_info_[0].offset_ =
+ static_cast<uint32>(parameters_ - reinterpret_cast<char*>(this));
}
// Testing-only method. Allows setting the apparent size to a wrong value.