We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a420e0 commit 5c6eb7eCopy full SHA for 5c6eb7e
Os/Posix/RawTime.cpp
@@ -67,7 +67,7 @@ Fw::SerializeStatus PosixRawTime::deserialize(Fw::SerializeBufferBase& buffer) {
67
if (status != Fw::SerializeStatus::FW_SERIALIZE_OK) {
68
return status;
69
}
70
- this->m_handle.m_timespec = {sec, nsec};
+ this->m_handle.m_timespec = {static_cast<time_t>(sec), static_cast<long>(nsec)};
71
return Fw::SerializeStatus::FW_SERIALIZE_OK;
72
73
0 commit comments