summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormcorino <mcorino@users.noreply.github.com>2010-07-01 08:55:51 +0000
committermcorino <mcorino@users.noreply.github.com>2010-07-01 08:55:51 +0000
commit8827b04de9d8ffef8f6cbb0e18ccb860614dcac7 (patch)
treefeeefb5e3402d65e981511e4127dc98e67dcaf7f
parent14678080a5aa057fe538803ab85278eda13b679f (diff)
downloadATCD-8827b04de9d8ffef8f6cbb0e18ccb860614dcac7.tar.gz
Thu Jul 01 08:55:30 UTC 2010 Martin Corino <mcorino@remedy.nl>
* protocols/tests/INet/MT_Get/Main.cpp: Fixed truncation warnings.
-rw-r--r--ACE/ChangeLog5
-rw-r--r--ACE/protocols/tests/INet/MT_Get/Main.cpp4
2 files changed, 7 insertions, 2 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog
index 36c82823b06..95cf52f60cb 100644
--- a/ACE/ChangeLog
+++ b/ACE/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jul 01 08:55:30 UTC 2010 Martin Corino <mcorino@remedy.nl>
+
+ * protocols/tests/INet/MT_Get/Main.cpp:
+ Fixed truncation warnings.
+
Wed Jun 30 14:57:30 UTC 2010 Martin Corino <mcorino@remedy.nl>
* protocols/tests/INet/MT_Get/Main.cpp:
diff --git a/ACE/protocols/tests/INet/MT_Get/Main.cpp b/ACE/protocols/tests/INet/MT_Get/Main.cpp
index 9c2ca26b2c9..e24c831bee6 100644
--- a/ACE/protocols/tests/INet/MT_Get/Main.cpp
+++ b/ACE/protocols/tests/INet/MT_Get/Main.cpp
@@ -10,7 +10,7 @@
#include "ace/Truncate.h"
#include <iostream>
-size_t n_threads = 3;
+int n_threads = 3;
#if defined (ACE_HAS_THREADS)
class Get_Task : public ACE_Task<ACE_MT_SYNCH>
@@ -265,7 +265,7 @@ ACE_TMAIN (int, ACE_TCHAR *[])
else
{
const ACE_Array<ACE_CString>& results = get_task.results ();
- for (size_t i=1;
+ for (int i=1;
i < n_threads;
++i)
{