summaryrefslogtreecommitdiff
path: root/main/tests/test_string.cpp
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2020-05-13 05:31:51 -0400
committerAaron Franke <arnfranke@yahoo.com>2020-06-03 00:03:34 -0400
commitbb8aa107fd064a095479350bd22b1ce3ed146784 (patch)
treea92201554e694ece66c0877f63932b02a2432bd6 /main/tests/test_string.cpp
parent030a26206ff70b1050c885270afce89b0430af70 (diff)
Remove 32-bit String to_int method
Diffstat (limited to 'main/tests/test_string.cpp')
-rw-r--r--main/tests/test_string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/tests/test_string.cpp b/main/tests/test_string.cpp
index 775c039282..5a14492be5 100644
--- a/main/tests/test_string.cpp
+++ b/main/tests/test_string.cpp
@@ -370,7 +370,7 @@ bool test_22() {
static const int num[4] = { 1237461283, -22, 0, -1123412 };
for (int i = 0; i < 4; i++) {
- OS::get_singleton()->print("\tString: \"%s\" as Int is %i\n", nums[i], String(nums[i]).to_int());
+ OS::get_singleton()->print("\tString: \"%s\" as Int is %lli\n", nums[i], (long long)(String(nums[i]).to_int()));
if (String(nums[i]).to_int() != num[i]) {
return false;