Skip to content

Commit 7c2bf60

Browse files
committed
Fix merge
***NO_CI***
1 parent 22b35c6 commit 7c2bf60

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/CLR/CorLib/corlib_native_System_Guid.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
//
1+
//
22
// Copyright (c) .NET Foundation and Contributors
33
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
44
// See LICENSE file in the project root for full license information.
55
//
66

77
#include "CorLib.h"
8+
#include <nanoCLR_Interop.h>
89

910
HRESULT Library_corlib_native_System_Guid::GenerateNewGuid___STATIC__SZARRAY_U1(CLR_RT_StackFrame &stack)
1011
{
@@ -15,7 +16,7 @@ HRESULT Library_corlib_native_System_Guid::GenerateNewGuid___STATIC__SZARRAY_U1(
1516
CLR_RT_HeapBlock &top = stack.PushValueAndClear();
1617

1718
// Create a array of 16 bytes on top of stack to return
18-
NANOCLR_CHECK_HRESULT(CLR_RT_HeapBlock_Array::CreateInstance(top, 16, g_CLR_RT_WellKnownTypes.m_UInt8));
19+
NANOCLR_CHECK_HRESULT(CLR_RT_HeapBlock_Array::CreateInstance(top, 16, g_CLR_RT_WellKnownTypes.UInt8), nullptr);
1920
buf = top.DereferenceArray()->GetFirstElement();
2021

2122
rand.Initialize();

0 commit comments

Comments
 (0)