--- a/src/core/attribute-test.cc Wed Feb 27 00:05:23 2008 +0100
+++ b/src/core/attribute-test.cc Wed Feb 27 17:39:32 2008 +0100
@@ -350,7 +350,7 @@
NS_TEST_ASSERT (!p->SetAttribute("TestUint8", "-1"));
CHECK_GET_STR (p, "TestUint8", "255");
CHECK_GET_PARAM (p, "TestUint8", Uinteger, 255);
- NS_TEST_ASSERT (!p->SetAttribute("TestUint8", Uinteger (-1)));
+ NS_TEST_ASSERT (!p->SetAttribute("TestUint8", Uinteger ((uint64_t)-1)));
CHECK_GET_STR (p, "TestUint8", "255");
CHECK_GET_PARAM (p, "TestUint8", Uinteger, 255);