Switch to explicit type conversion in StackFrame constructor.
authorMikhail Kurinnoi <m.kurinnoi@samsung.net>
Fri, 30 Aug 2019 08:09:52 +0000 (11:09 +0300)
committerAlexander Soldatov/AI Compiler Lab /SRR/Staff Engineer/삼성전자 <soldatov.a@samsung.com>
Mon, 23 Sep 2019 10:22:54 +0000 (13:22 +0300)
src/debug/netcoredbg/protocol.h

index dea6c96875376affd1cb5548201833062243db17..45e75ddd4790302f9b1affd5e8c0ceb573b1cd89 100644 (file)
@@ -61,7 +61,7 @@ struct StackFrame
     StackFrame(int threadId, uint32_t level, std::string name) :
         name(name), line(0), column(0), endLine(0), endColumn(0), addr(0)
     {
-        id = threadId;
+        id = static_cast<uint64_t>(threadId);
         id <<= 32;
         id |= level;
     }