mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Make posmod use int64_t instead of int
This commit is contained in:
parent
136c3b1a16
commit
f04a964627
3 changed files with 4 additions and 4 deletions
|
|
@ -250,7 +250,7 @@ void GDScriptFunctions::call(Function p_func, const Variant **p_args, int p_arg_
|
|||
VALIDATE_ARG_COUNT(2);
|
||||
VALIDATE_ARG_NUM(0);
|
||||
VALIDATE_ARG_NUM(1);
|
||||
r_ret = Math::posmod((int)*p_args[0], (int)*p_args[1]);
|
||||
r_ret = Math::posmod((int64_t)*p_args[0], (int64_t)*p_args[1]);
|
||||
} break;
|
||||
case MATH_FLOOR: {
|
||||
VALIDATE_ARG_COUNT(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue