summaryrefslogtreecommitdiff
path: root/ASNMP/tests
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2004-05-07 21:43:52 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2004-05-07 21:43:52 +0000
commit5995abe79d1c315756524531ddd9efe538654cf5 (patch)
tree7a25b9e6b5cbae3b749e9bc8cb9fe1034fb2e535 /ASNMP/tests
parentc35519b403ba2275c26c680f27722ca8ea8517b3 (diff)
downloadATCD-5995abe79d1c315756524531ddd9efe538654cf5.tar.gz
ChangeLogTag:Fri May 7 14:42:22 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'ASNMP/tests')
-rw-r--r--ASNMP/tests/Counter_Test.cpp2
-rw-r--r--ASNMP/tests/Gauge_Test.cpp2
-rw-r--r--ASNMP/tests/Integer_Test.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/ASNMP/tests/Counter_Test.cpp b/ASNMP/tests/Counter_Test.cpp
index 28bbe47d873..fb5447ad396 100644
--- a/ASNMP/tests/Counter_Test.cpp
+++ b/ASNMP/tests/Counter_Test.cpp
@@ -117,7 +117,7 @@ static void TestCounter()
c1 = def; // unsigned long
ACE_ASSERT(c1 == def);
c1 = us; // unsigned short
- ACE_ASSERT(c1 == us);
+ ACE_ASSERT(c1 == static_cast<unsigned long> (us));
c1 = si; // unsigned short
ACE_ASSERT(c1 == static_cast<unsigned long> (si));
#endif /*ACE_WIN32*/
diff --git a/ASNMP/tests/Gauge_Test.cpp b/ASNMP/tests/Gauge_Test.cpp
index d47b22b7169..b87795fb174 100644
--- a/ASNMP/tests/Gauge_Test.cpp
+++ b/ASNMP/tests/Gauge_Test.cpp
@@ -114,7 +114,7 @@ TestGuage (void)
g1 = def; // unsigned long
ACE_ASSERT(g1 == def);
g1 = us; // unsigned short
- ACE_ASSERT(g1 == us);
+ ACE_ASSERT(g1 == static_cast<unsigned long> (us));
g1 = si; // unsigned short
ACE_ASSERT(g1 == static_cast<unsigned long> (si));
#endif /*ACE_WIN32*/
diff --git a/ASNMP/tests/Integer_Test.cpp b/ASNMP/tests/Integer_Test.cpp
index 73963f321af..96601281062 100644
--- a/ASNMP/tests/Integer_Test.cpp
+++ b/ASNMP/tests/Integer_Test.cpp
@@ -178,9 +178,9 @@ static void TestUnsignedInteger32()
u1 = def; // unsigned long
ACE_ASSERT(u1 == def);
u1 = us; // unsigned short
- ACE_ASSERT(u1 == us);
+ ACE_ASSERT(u1 == static_cast<unsigned long> (us));
u1 = si; // unsigned short
- ACE_ASSERT(u1 == si);
+ ACE_ASSERT(u1 == static_cast<unsigned long> (si));
#endif /*ACE_WIN32 */
}