summaryrefslogtreecommitdiff
path: root/ASNMP/tests/Counter_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ASNMP/tests/Counter_Test.cpp')
-rw-r--r--ASNMP/tests/Counter_Test.cpp2
1 files changed, 1 insertions, 1 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*/