diff options
author | Lee Campbell <leecam@google.com> | 2016-03-08 17:13:31 -0800 |
---|---|---|
committer | Lee Campbell <leecam@google.com> | 2016-03-08 17:13:31 -0800 |
commit | 67471f9b9301edbdf2225422c6a22e81357d3a5f (patch) | |
tree | 9c184e7ebccc1d2e3c7086789b76b641b7d0b274 | |
parent | c589f9dc35abbd00601d50f732a4d7e0c83dccc1 (diff) | |
download | peripheralmanager-67471f9b9301edbdf2225422c6a22e81357d3a5f.tar.gz |
Fix 64bit build due to type mismatch
Change-Id: Ic1eb37f67872a5684be5567bc6cf9f75fecffc99
-rw-r--r-- | client/spi_device_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/spi_device_impl.cc b/client/spi_device_impl.cc index ff82f49..07be067 100644 --- a/client/spi_device_impl.cc +++ b/client/spi_device_impl.cc @@ -67,7 +67,7 @@ int SpiDeviceImpl::SetBitJustification(int justification) { .serviceSpecificErrorCode(); } -int SpiDeviceImpl::SetBitsPerWord(size_t bits_per_word) { +int SpiDeviceImpl::SetBitsPerWord(uint32_t bits_per_word) { return client_->SpiDeviceSetBitsPerWord(name_, bits_per_word) .serviceSpecificErrorCode(); } |