diff --git a/src/MultiPlayer/multiplaymgr.cxx b/src/MultiPlayer/multiplaymgr.cxx index 793d3966c..9012d501a 100644 --- a/src/MultiPlayer/multiplaymgr.cxx +++ b/src/MultiPlayer/multiplaymgr.cxx @@ -1554,7 +1554,7 @@ FGMultiplayMgr::Send() pData->id = it->first; pData->type = findProperty(pData->id)->type; - switch (pData->type) { + switch (static_cast(pData->type)) { case TT_SHORTINT: case TT_SHORT_FLOAT_1: case TT_SHORT_FLOAT_2: