diff --git a/src/g_statusbar/sbarinfo.cpp b/src/g_statusbar/sbarinfo.cpp index d652ced34..efb0f9708 100644 --- a/src/g_statusbar/sbarinfo.cpp +++ b/src/g_statusbar/sbarinfo.cpp @@ -1596,7 +1596,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(DSBarInfo, ShowPop, SBarInfo_ShowPop) return 0; } -static int SBarInfo_GetProtrusion(DSBarInfo *self, float scale) +static int SBarInfo_GetProtrusion(DSBarInfo *self, double scale) { return self->_GetProtrusion(scale); } diff --git a/src/scripting/vm/vm.h b/src/scripting/vm/vm.h index 481705345..e451cb80c 100644 --- a/src/scripting/vm/vm.h +++ b/src/scripting/vm/vm.h @@ -590,7 +590,9 @@ struct DirectNativeDesc template struct is_valid { static const bool value = true; }; template<> struct is_valid { static const bool value = true; }; template<> struct is_valid { static const bool value = true; }; + template<> struct is_valid { static const bool value = true; }; template<> struct is_valid { static const bool value = true; }; + template<> struct is_valid { static const bool value = true; }; operator void *() const { return Ptr; }