From cf2317ac50ce545cf5cc7ccf4be44b0d80c088df Mon Sep 17 00:00:00 2001 From: Kamil Rytarowski Date: Tue, 3 May 2016 13:40:04 +0200 Subject: NetBSD: Fix build with LLVM-3.9 --- tests/src/Interop/StructMarshalling/PInvoke/MarshalStructAsParamDLL.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/src') 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 +} -- cgit v1.2.3