X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMultiPlayer%2Fmultiplayrxmgr.cxx;h=474a09faf14371c7effb6f9ecbf975d05751452f;hb=2bc09e5268284b4d7009fa66930bcfc937400f3b;hp=fdc58ba9969cd67c1ea0c9d081169091ab803090;hpb=0e370e6e28dca1722faf2432a1e8e14d0780b212;p=flightgear.git diff --git a/src/MultiPlayer/multiplayrxmgr.cxx b/src/MultiPlayer/multiplayrxmgr.cxx index fdc58ba99..474a09faf 100644 --- a/src/MultiPlayer/multiplayrxmgr.cxx +++ b/src/MultiPlayer/multiplayrxmgr.cxx @@ -233,7 +233,7 @@ void FGMultiplayRxMgr::ProcessData(void) { // Data received if (iBytes > 0) { - if (iBytes >= sizeof(MsgHdr)) { + if (iBytes >= (int)sizeof(MsgHdr)) { // Read header MsgHdr = (T_MsgHdr *)sMsg;