diff --git a/src/scripting/vmthunks.cpp b/src/scripting/vmthunks.cpp index 4c8fe81ba..7c32e7d55 100644 --- a/src/scripting/vmthunks.cpp +++ b/src/scripting/vmthunks.cpp @@ -252,7 +252,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(FStringStruct, ToInt, StringToInt) ACTION_RETURN_INT(self->ToLong(base)); } -static int StringToDbl(FString *self) +static double StringToDbl(FString *self) { return self->ToDouble(); }