From 77f0748cd116c16dd5b5f8e0512acb1166b4e341 Mon Sep 17 00:00:00 2001 From: Nicolas Andres <57585017+NiciAndres@users.noreply.github.com> Date: Wed, 18 Dec 2019 11:14:18 +0100 Subject: [PATCH] Type correction in Interop (unsigned as signed) (#1531) --- src/CLR/Core/CLR_RT_Interop.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CLR/Core/CLR_RT_Interop.cpp b/src/CLR/Core/CLR_RT_Interop.cpp index 1f1e4f1826..7613871cf3 100644 --- a/src/CLR/Core/CLR_RT_Interop.cpp +++ b/src/CLR/Core/CLR_RT_Interop.cpp @@ -39,7 +39,7 @@ HRESULT Interop_Marshal_UINT8( const CLR_RT_StackFrame &stackFrame, unsigned int NANOCLR_INTEROP_NOCLEANUP(); } -HRESULT Interop_Marshal_UINT16( const CLR_RT_StackFrame &stackFrame, unsigned int paramIndex, signed short ¶m ) +HRESULT Interop_Marshal_UINT16( const CLR_RT_StackFrame &stackFrame, unsigned int paramIndex, unsigned short ¶m ) { NATIVE_PROFILE_CLR_CORE(); NANOCLR_INTEROP_CHECK_ARG_TYPE(DATATYPE_I4) @@ -47,7 +47,7 @@ HRESULT Interop_Marshal_UINT16( const CLR_RT_StackFrame &stackFrame, unsigned in NANOCLR_INTEROP_NOCLEANUP(); } -HRESULT Interop_Marshal_UINT32( const CLR_RT_StackFrame &stackFrame, unsigned int paramIndex, signed int ¶m ) +HRESULT Interop_Marshal_UINT32( const CLR_RT_StackFrame &stackFrame, unsigned int paramIndex, unsigned int ¶m ) { NATIVE_PROFILE_CLR_CORE(); NANOCLR_INTEROP_CHECK_ARG_TYPE(DATATYPE_I4)