aboutsummaryrefslogtreecommitdiffstats
path: root/community/cpputest/test-s390x.patch
blob: 131751126309cfb9dee0c9247c0c67ce7530e034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
ref https://github.com/cpputest/cpputest/issues/1004

diff --git a/tests/CppUTestExt/MockSupport_cTest.cpp b/tests/CppUTestExt/MockSupport_cTest.cpp
index 8fc55ec..5188857 100644
--- a/tests/CppUTestExt/MockSupport_cTest.cpp
+++ b/tests/CppUTestExt/MockSupport_cTest.cpp
@@ -186,8 +186,8 @@ TEST(MockSupport_c, outputParameters_differentType)
 
 TEST(MockSupport_c, outputParametersOfType)
 {
-    long param = 1;
-    const long retval = 2;
+    int param = 1;
+    const int retval = 2;
     mock_c()->installCopier("typeName", typeCopy);
     mock_c()->expectOneCall("foo")->withOutputParameterOfTypeReturning("typeName", "out", &retval);
     mock_c()->actualCall("foo")->withOutputParameterOfType("typeName", "out", &param);