diff --git a/code/nel/include/nel/net/message_recorder.h b/code/nel/include/nel/net/message_recorder.h index cc02b1d27..c3a57c5f6 100644 --- a/code/nel/include/nel/net/message_recorder.h +++ b/code/nel/include/nel/net/message_recorder.h @@ -71,7 +71,7 @@ struct TMessageRecord { stream.serial( s_event ); Event = StringToEvent( s_event ); - uint32 sockId = (uint32)SockId; + uint32 sockId = (uint32)(size_t)SockId; stream.serialHex( sockId ); stream.serial( len ); stream.serialBuffer( Message.bufferToFill( len ), len );