diff options
author | mb93783 <mb93783@X42-SO17.germany.sun.com> | 2009-12-01 15:16:23 +0100 |
---|---|---|
committer | mb93783 <mb93783@X42-SO17.germany.sun.com> | 2009-12-01 15:16:23 +0100 |
commit | 76709490471c492d8201878766118b3e6afaec1e (patch) | |
tree | ea38b5098bee3a21918884fa02fbfc9d8e13507d /testshl2 | |
parent | 1769eb9b9fac4d31c3fd0dc15d6b81d7169aa696 (diff) |
fixed warning in 64Bit builds
Diffstat (limited to 'testshl2')
-rw-r--r-- | testshl2/inc/testshl/result/callbackfunc.h | 2 | ||||
-rw-r--r-- | testshl2/source/cppunit/result/treswrapper.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/testshl2/inc/testshl/result/callbackfunc.h b/testshl2/inc/testshl/result/callbackfunc.h index 8ff1c7a957f4..606bf7179163 100644 --- a/testshl2/inc/testshl/result/callbackfunc.h +++ b/testshl2/inc/testshl/result/callbackfunc.h @@ -6,7 +6,7 @@ extern "C" { #endif // this is the entry point from the DLL back to the executable. - sal_Int32 CallbackDispatch(int x, ...); + long CallbackDispatch(int x, ...); //# void TestResult_startTest(hTestResult _pResult, hTest _pTest); //# void TestResult_addFailure( hTestResult _pResult, hTest _pTest, hException _pException ); diff --git a/testshl2/source/cppunit/result/treswrapper.cxx b/testshl2/source/cppunit/result/treswrapper.cxx index 0e0c0496026b..56e891fa026f 100644 --- a/testshl2/source/cppunit/result/treswrapper.cxx +++ b/testshl2/source/cppunit/result/treswrapper.cxx @@ -202,7 +202,7 @@ sal_Int32 SignalHandlerA( TagHelper const& _aTagItems ); sal_Int32 ExecutionA( TagHelper const& _aTagItems ); // ----------------------------------------------------------------------------- -sal_Int32 CallbackDispatch(int x, ...) +long CallbackDispatch(int x, ...) { (void) x; // avoid warning @@ -238,7 +238,7 @@ sal_Int32 CallbackDispatch(int x, ...) // printf(".\n"); - sal_Int32 nRetValue = 0; + long nRetValue = 0; Tag nPreTag = aTagItems.GetTagData(TAG_TYPE); if ( (nPreTag & TAG_RESULT) == TAG_RESULT) { |