summaryrefslogtreecommitdiff
path: root/ASNMP
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2004-04-16 23:56:42 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2004-04-16 23:56:42 +0000
commit1a7c70b53444c13d61b6c416d232ce6d0ab298a5 (patch)
treeebe0a59ee9e315c326aeaa8bf88c15633eed1518 /ASNMP
parentc5f45251196bfc54e2fcf1102d5541a9efb723c2 (diff)
downloadATCD-1a7c70b53444c13d61b6c416d232ce6d0ab298a5.tar.gz
ChangeLogTag:Fri Apr 16 16:53:20 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'ASNMP')
-rw-r--r--ASNMP/ChangeLog2
-rw-r--r--ASNMP/tests/Integer_Test.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/ASNMP/ChangeLog b/ASNMP/ChangeLog
index 3b1b7ed868b..efa64b7e485 100644
--- a/ASNMP/ChangeLog
+++ b/ASNMP/ChangeLog
@@ -1,7 +1,7 @@
Fri Apr 16 16:53:20 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
* tests/Gauge_Test.cpp (TestGuage):
- * tests/Integer_Test.cpp (TestInteger32):
+ * tests/Integer_Test.cpp (TestInteger32, TestUnsignedInteger32):
Fixed some "comparison between signed and unsigned integer"
warnings.
diff --git a/ASNMP/tests/Integer_Test.cpp b/ASNMP/tests/Integer_Test.cpp
index 32d4d026553..3a2fd25419c 100644
--- a/ASNMP/tests/Integer_Test.cpp
+++ b/ASNMP/tests/Integer_Test.cpp
@@ -140,15 +140,15 @@ static void TestUnsignedInteger32()
SnmpUInt32 u1;
ACE_ASSERT(u1 == def);
SnmpUInt32 u2(l);
- ACE_ASSERT(u2 == l);
+ ACE_ASSERT(u2 == ACE_static_cast (unsigned long, l));
SnmpUInt32 u3(nl);
- ACE_ASSERT(u3 == nl);
+ ACE_ASSERT(u3 == ACE_static_cast (unsigned long, nl));
SnmpUInt32 u4(ul);
ACE_ASSERT(u4 == ul);
SnmpUInt32 u5(i);
- ACE_ASSERT(u5 == i);
+ ACE_ASSERT(u5 == ACE_static_cast (unsigned long, i));
SnmpUInt32 u6(ni);
- ACE_ASSERT(u6 == ni);
+ ACE_ASSERT(u6 == ACE_static_cast (unsigned long, ni));
SnmpUInt32 u7(ui);
ACE_ASSERT(u7 == ui);
SnmpUInt32 *u8 = new SnmpUInt32(u5);