summaryrefslogtreecommitdiff
path: root/ACE/performance-tests
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2006-10-28 00:32:58 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2006-10-28 00:32:58 +0000
commitb03eef921e9a5db740dc121aefc1d973dac8bb37 (patch)
treebeb19b2b58ca89c22e89cdbbebcd0f74c843b591 /ACE/performance-tests
parentd24b44426efe1b0577f9b4080bd4d3d91932b858 (diff)
downloadATCD-b03eef921e9a5db740dc121aefc1d973dac8bb37.tar.gz
ChangeLogTag:Fri Oct 28 03:23:18 UTC 2006 Ossama Othman <ossama_othman at symantec dot com>
Diffstat (limited to 'ACE/performance-tests')
-rw-r--r--ACE/performance-tests/Synch-Benchmarks/Perf_Test/Benchmark_Performance.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ACE/performance-tests/Synch-Benchmarks/Perf_Test/Benchmark_Performance.cpp b/ACE/performance-tests/Synch-Benchmarks/Perf_Test/Benchmark_Performance.cpp
index 12d240b29fe..48fe88cad2f 100644
--- a/ACE/performance-tests/Synch-Benchmarks/Perf_Test/Benchmark_Performance.cpp
+++ b/ACE/performance-tests/Synch-Benchmarks/Perf_Test/Benchmark_Performance.cpp
@@ -2,6 +2,7 @@
#define ACE_BUILD_SVC_DLL
#include "Benchmark_Performance.h"
+#include "ace/Basic_Types.h"
ACE_RCSID(Synch_Benchmarks, Benchmark_Performance, "$Id$")
@@ -53,7 +54,7 @@ Benchmark_Performance::fini (void)
void *
Benchmark_Performance::svc_run (Benchmark_Performance *bp)
{
- return (void *) (bp->svc () == -1 ? (long)-1 : (long)0);
+ return (void *) (bp->svc () == -1 ? (intptr_t) -1 : (intptr_t) 0);
}
#endif /* ACE_HAS_THREADS */