diff --git a/src/misc/Log.cpp b/src/misc/Log.cpp index ff308e4..94c0e4b 100644 --- a/src/misc/Log.cpp +++ b/src/misc/Log.cpp @@ -11,7 +11,7 @@ namespace utils { void LOG(const std::string& msg){ #ifdef __ANDROID__ - __android_log_print(ANDROID_LOG_INFO, "TRACKERS", "%s", msg); + __android_log_print(ANDROID_LOG_INFO, "TRACKERS", "%s", msg.c_str()); #else std::cout << msg << "\n"; #endif