mirror of
https://github.com/espressif/openthread.git
synced 2026-08-21 18:09:52 +00:00
[radio-spinel] fix spinel_ssize_t to spinel_size_t conversion warning (#6281)
This commit is contained in:
@@ -2126,7 +2126,8 @@ void RadioSpinel<InterfaceType, ProcessContextType>::CalcRcpTimeOffset(void)
|
||||
localTxTimestamp = otPlatTimeGet();
|
||||
|
||||
// Dummy timestamp payload to make request length same as response
|
||||
error = GetWithParam(SPINEL_PROP_RCP_TIMESTAMP, buffer, packed, SPINEL_DATATYPE_UINT64_S, &remoteTimestamp);
|
||||
error = GetWithParam(SPINEL_PROP_RCP_TIMESTAMP, buffer, static_cast<spinel_size_t>(packed),
|
||||
SPINEL_DATATYPE_UINT64_S, &remoteTimestamp);
|
||||
|
||||
localRxTimestamp = otPlatTimeGet();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user