From: Cheng Zhao Date: Fri, 5 Sep 2014 03:44:30 +0000 (+0800) Subject: win: Fix compilation error. X-Git-Tag: v0.16.0~4^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=fadfd7492352ccea0963760bd9107ebfd91fda20;p=electron.git win: Fix compilation error. --- diff --git a/atom/browser/node_debugger.cc b/atom/browser/node_debugger.cc index 5d7f1ca1..a8a0c8ef 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,