From 9e7924a4b10c8bf2ee6ef99001c7f28404487edb Mon Sep 17 00:00:00 2001 From: James Turner Date: Fri, 21 Apr 2017 13:05:46 +0100 Subject: [PATCH] Silence a warning. --- src/MultiPlayer/multiplaymgr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: