aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light/src/io/udpConnection.c
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-light/src/io/udpConnection.c')
-rw-r--r--hicn-light/src/io/udpConnection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hicn-light/src/io/udpConnection.c b/hicn-light/src/io/udpConnection.c
index 2aa6edc51..6c2e35392 100644
--- a/hicn-light/src/io/udpConnection.c
+++ b/hicn-light/src/io/udpConnection.c
@@ -273,7 +273,7 @@ static bool _send(IoOperations *ops, const Address *dummy, Message *message) {
ssize_t writeLength =
sendto(udpConnState->udpListenerSocket, message_FixedHeader(message),
- message_Length(message), 0, udpConnState->peerAddress,
+ (int)message_Length(message), 0, udpConnState->peerAddress,
udpConnState->peerAddressLength);
if (writeLength < 0) {