diff options
Diffstat (limited to '')
-rw-r--r-- | src/dnchost/dncutil.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dnchost/dncutil.cpp b/src/dnchost/dncutil.cpp index 89fe707f..34d14911 100644 --- a/src/dnchost/dncutil.cpp +++ b/src/dnchost/dncutil.cpp | |||
@@ -37,7 +37,7 @@ static HRESULT LoadCoreClr( | |||
37 | static HRESULT StartCoreClr( | 37 | static HRESULT StartCoreClr( |
38 | __in HOSTFXR_STATE* pState, | 38 | __in HOSTFXR_STATE* pState, |
39 | __in LPCWSTR wzNativeHostPath, | 39 | __in LPCWSTR wzNativeHostPath, |
40 | __in size_t cProperties, | 40 | __in DWORD cProperties, |
41 | __in LPCWSTR* propertyKeys, | 41 | __in LPCWSTR* propertyKeys, |
42 | __in LPCWSTR* propertyValues | 42 | __in LPCWSTR* propertyValues |
43 | ); | 43 | ); |
@@ -320,7 +320,7 @@ static HRESULT InitializeCoreClrPre5( | |||
320 | hr = LoadCoreClr(pState, sczCoreClrPath); | 320 | hr = LoadCoreClr(pState, sczCoreClrPath); |
321 | BalExitOnFailure(hr, "Failed to load coreclr."); | 321 | BalExitOnFailure(hr, "Failed to load coreclr."); |
322 | 322 | ||
323 | hr = StartCoreClr(pState, wzNativeHostPath, cProperties, rgPropertyKeys, rgPropertyValues); | 323 | hr = StartCoreClr(pState, wzNativeHostPath, (DWORD)cProperties, rgPropertyKeys, rgPropertyValues); |
324 | BalExitOnFailure(hr, "Failed to start coreclr."); | 324 | BalExitOnFailure(hr, "Failed to start coreclr."); |
325 | 325 | ||
326 | LExit: | 326 | LExit: |
@@ -358,7 +358,7 @@ LExit: | |||
358 | static HRESULT StartCoreClr( | 358 | static HRESULT StartCoreClr( |
359 | __in HOSTFXR_STATE* pState, | 359 | __in HOSTFXR_STATE* pState, |
360 | __in LPCWSTR wzNativeHostPath, | 360 | __in LPCWSTR wzNativeHostPath, |
361 | __in size_t cProperties, | 361 | __in DWORD cProperties, |
362 | __in LPCWSTR* propertyKeys, | 362 | __in LPCWSTR* propertyKeys, |
363 | __in LPCWSTR* propertyValues | 363 | __in LPCWSTR* propertyValues |
364 | ) | 364 | ) |