summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/logger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logger.cpp b/src/logger.cpp
index f125bf9eb..f3b5d4e04 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -108,7 +108,7 @@ void Logger::dlog(std::string str)
<< static_cast<int>((tv.tv_usec / 10000) % 100)
<< "] ";
- DLOG_ANDROID(str)
+ DLOG_ANDROID(str.c_str())
if (mLogFile.is_open())
mLogFile << timeStr.str() << str << std::endl;