From fadfd7492352ccea0963760bd9107ebfd91fda20 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Fri, 5 Sep 2014 11:44:30 +0800 Subject: [PATCH] win: Fix compilation error. --- atom/browser/node_debugger.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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,