summaryrefslogtreecommitdiffstats
path: root/test/src/example.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/example.cpp')
-rw-r--r--test/src/example.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/example.cpp b/test/src/example.cpp
index 5eaa4bb..e2a6ceb 100644
--- a/test/src/example.cpp
+++ b/test/src/example.cpp
@@ -127,7 +127,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;
}