Fixed build for Windows.
authorKirill Frolov <k.frolov@samsung.com>
Mon, 23 Nov 2020 12:25:12 +0000 (15:25 +0300)
committerKirill Frolov <k.frolov@samsung.com>
Tue, 24 Nov 2020 15:17:17 +0000 (18:17 +0300)
src/debug/netcoredbg/vscodeprotocol.cpp

index 62c801d4101773fcdf883e985288fd17a6b29685..db797348f7b63cac927edcad70a6664f6c135d44 100644 (file)
@@ -307,7 +307,7 @@ void VSCodeProtocol::EmitExecEvent(PID pid, const std::string& argv0)
     json body;
 
     body["name"] = argv0;
-    body["systemProcessId"] = unsigned(pid);
+    body["systemProcessId"] = PID::ScalarType(pid);
     body["isLocalProcess"] = true;
     body["startMethod"] = "launch";