We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02b5868 commit 155b5eeCopy full SHA for 155b5ee
Tools/WinMLRunner/src/BindingUtilities.cpp
@@ -653,7 +653,7 @@ namespace BindingUtilities
653
{
654
if (dim > 0)
655
656
- length *= dim;
+ length *= int(dim);
657
}
658
659
Tools/WinMLRunner/src/EventTraceHelper.cpp
@@ -30,7 +30,7 @@ static void RemoveTrailingSpace(PEVENT_MAP_INFO pMapInfo)
30
31
for (DWORD i = 0; i < pMapInfo->EntryCount; i++)
32
33
- byteLength = (wcslen((LPWSTR)((PBYTE)pMapInfo + pMapInfo->MapEntryArray[i].OutputOffset)) - 1) * 2;
+ byteLength = DWORD(wcslen((LPWSTR)((PBYTE)pMapInfo + pMapInfo->MapEntryArray[i].OutputOffset)) - 1) * 2;
34
*((LPWSTR)((PBYTE)pMapInfo + (pMapInfo->MapEntryArray[i].OutputOffset + byteLength))) = L'\0';
35
36
0 commit comments