Skip to content

Commit

Permalink
Fixing cast
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStarch authored Nov 4, 2024
1 parent d9fd024 commit f674bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Drv/TcpServer/TcpServerComponentImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ IpSocket& TcpServerComponentImpl::getSocketHandler() {
}

Fw::Buffer TcpServerComponentImpl::getBuffer() {
return allocate_out(0, m_allocation_size);
return allocate_out(0, static_cast<U32>(m_allocation_size));
}

void TcpServerComponentImpl::sendBuffer(Fw::Buffer buffer, SocketIpStatus status) {
Expand Down

0 comments on commit f674bf0

Please sign in to comment.