summaryrefslogtreecommitdiff
path: root/tests/src/Interop
diff options
context:
space:
mode:
authorAditya Mandaleeka <adityamandaleeka@users.noreply.github.com>2016-05-07 13:51:11 -0700
committerAditya Mandaleeka <adityamandaleeka@users.noreply.github.com>2016-05-07 13:51:11 -0700
commitc2c1abcb71065dd530e0b38045547603c38d1e86 (patch)
tree6a25d3e1cc53a37035b0fdce6574f05560dd8b6e /tests/src/Interop
parent1b9c70ca3d8fc86adc2bd9272a248db17394cebc (diff)
parentcf2317ac50ce545cf5cc7ccf4be44b0d80c088df (diff)
downloadcoreclr-c2c1abcb71065dd530e0b38045547603c38d1e86.tar.gz
coreclr-c2c1abcb71065dd530e0b38045547603c38d1e86.tar.bz2
coreclr-c2c1abcb71065dd530e0b38045547603c38d1e86.zip
Merge pull request #4747 from krytarowski/netbsd-support-75
NetBSD: Fix build with LLVM-3.9
Diffstat (limited to 'tests/src/Interop')
-rw-r--r--tests/src/Interop/StructMarshalling/PInvoke/MarshalStructAsParamDLL.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/Interop/StructMarshalling/PInvoke/MarshalStructAsParamDLL.h b/tests/src/Interop/StructMarshalling/PInvoke/MarshalStructAsParamDLL.h
index 39af8a9c78..ead777eea0 100644
--- a/tests/src/Interop/StructMarshalling/PInvoke/MarshalStructAsParamDLL.h
+++ b/tests/src/Interop/StructMarshalling/PInvoke/MarshalStructAsParamDLL.h
@@ -787,7 +787,7 @@ void ChangeU(U* p)
p->uiPtr = (LPVOID)(64);
p->s = 32767;
p->us = 0;
- p->b = 255;
+ p->b = -1;
p->sb = -128;
p->l = -1234567890;
p->ul = 0;
@@ -897,4 +897,4 @@ bool IsCorrectLongStructPack16Explicit(LongStructPack16Explicit* p)
if(p->l1 != 32 || p->l2 != 32)
return false;
return true;
-} \ No newline at end of file
+}