From 8025f02935b93b183d1e02b0a1b2491fa287478c Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 4 Dec 2018 18:47:03 +0100 Subject: [PATCH] - fix bad return type. --- src/scripting/vmthunks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }