Fixed build for Windows.
authorKirill Frolov <k.frolov@samsung.com>
Mon, 23 Nov 2020 12:25:12 +0000 (15:25 +0300)
committerAlexander Soldatov/Platform Lab /SRR/Staff Engineer/Samsung Electronics <soldatov.a@samsung.com>
Tue, 24 Nov 2020 13:43:10 +0000 (16:43 +0300)
src/debug/netcoredbg/vscodeprotocol.cpp

index 319ee2db2f9b2126f711d5efff189f472474f490..24ed2cd70eff4fa14076c14776c47fc44a4f51d1 100644 (file)
@@ -304,7 +304,7 @@ void VSCodeProtocol::EmitExecEvent(PID pid, const std::string& argv0)
     json body;
 
     body["name"] = argv0;
-    body["systemProcessId"] = unsigned(pid);
+    body["systemProcessId"] = DWORD(pid);
     body["isLocalProcess"] = true;
     body["startMethod"] = "launch";