- fix bad return type.

This commit is contained in:
Christoph Oelckers 2018-12-04 18:47:03 +01:00
parent d7da2d838f
commit 8025f02935

View file

@ -252,7 +252,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(FStringStruct, ToInt, StringToInt)
ACTION_RETURN_INT(self->ToLong(base)); ACTION_RETURN_INT(self->ToLong(base));
} }
static int StringToDbl(FString *self) static double StringToDbl(FString *self)
{ {
return self->ToDouble(); return self->ToDouble();
} }