summaryrefslogtreecommitdiff
path: root/tests/src
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src')
-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
+}