From 707c5060d60f2e0baafb09aab9d956e9f4e8f276 Mon Sep 17 00:00:00 2001 From: neitsa Date: Fri, 24 May 2019 17:23:05 +0200 Subject: [PATCH] Add missing conversion from std::string to char*. --- src/debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug.cpp b/src/debug.cpp index e99e5d09987bf..04a744f51b51c 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -873,7 +873,7 @@ static std::string android_version() }; for( const auto &entry : system_properties ) { - int len = __system_property_get( entry.first, &buffer[0] ); + int len = __system_property_get( entry.first.c_str(), &buffer[0] ); std::string value; if( len <= 0 ) { // failed to get the property