summaryrefslogtreecommitdiffstats
path: root/main/main.cpp
diff options
context:
space:
mode:
authorRafał Mikrut <mikrutrafal54@gmail.com>2019-11-01 16:16:31 +0100
committerRafał Mikrut <mikrutrafal54@gmail.com>2019-11-01 16:16:31 +0100
commit9ddb3265e1a6d2f9937ff6a27d04302d76c10431 (patch)
treebb38c5666f5d94af4fef6ca9e013ea77722ebdd5 /main/main.cpp
parent23a381d8827dbcb2d295fa393a5400f7a7e0a1c1 (diff)
downloadredot-engine-9ddb3265e1a6d2f9937ff6a27d04302d76c10431.tar.gz
Fix some crashes, overflows and using variables without values
Diffstat (limited to 'main/main.cpp')
-rw-r--r--main/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/main.cpp b/main/main.cpp
index fe0f5a0215..28c4ef7fbb 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -1348,8 +1348,8 @@ Error Main::setup2(Thread::ID p_main_tid_override) {
ClassDB::set_current_api(ClassDB::API_NONE); //no more api is registered at this point
- print_verbose("CORE API HASH: " + itos(ClassDB::get_api_hash(ClassDB::API_CORE)));
- print_verbose("EDITOR API HASH: " + itos(ClassDB::get_api_hash(ClassDB::API_EDITOR)));
+ print_verbose("CORE API HASH: " + uitos(ClassDB::get_api_hash(ClassDB::API_CORE)));
+ print_verbose("EDITOR API HASH: " + uitos(ClassDB::get_api_hash(ClassDB::API_EDITOR)));
MAIN_PRINT("Main: Done");
return OK;