diff options
author | Bastiaan Olij <mux213@gmail.com> | 2021-11-12 21:03:29 +1100 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2021-11-22 21:48:20 +1100 |
commit | 94efe3d410f712fd1a730ed4e6b2ac90ffdc2fe7 (patch) | |
tree | 8cdd1fe818b8a7aa73d9a0609b972a68c5943dd7 /test/src | |
parent | 271e33658db6558698153472b4a2dec15a4253ba (diff) | |
download | redot-cpp-94efe3d410f712fd1a730ed4e6b2ac90ffdc2fe7.tar.gz |
Fixing compiler warnings around implicit type casting loosing precision
Diffstat (limited to 'test/src')
-rw-r--r-- | test/src/example.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/example.cpp b/test/src/example.cpp index 4d34d4c..54cd1ae 100644 --- a/test/src/example.cpp +++ b/test/src/example.cpp @@ -118,7 +118,7 @@ Ref<ExampleRef> Example::extended_ref_checks(Ref<ExampleRef> p_ref) const { } Variant Example::varargs_func(const Variant **args, GDNativeInt arg_count, GDNativeCallError &error) { - UtilityFunctions::print("Varargs called with ", String::num(arg_count), " arguments"); + UtilityFunctions::print("Varargs called with ", String::num((double)arg_count), " arguments"); return arg_count; } |