diff --git a/atom/browser/node_debugger.cc b/atom/browser/node_debugger.cc index 5d7f1ca1a01a..a8a0c8ef9d09 100644 --- a/atom/browser/node_debugger.cc +++ b/atom/browser/node_debugger.cc @@ -101,7 +101,9 @@ void NodeDebugger::OnMessage(const std::string& message) { CloseSession(); base::string16 message16 = base::UTF8ToUTF16(message); - v8::Debug::SendCommand(isolate_, message16.data(), message16.size()); + v8::Debug::SendCommand( + isolate_, + reinterpret_cast(message16.data()), message16.size()); content::BrowserThread::PostTask( content::BrowserThread::UI, FROM_HERE,