fix compiler warning

This commit is contained in:
Josh Pelkey
2010-08-10 09:47:02 -04:00
parent fb99c4fe3b
commit fa10678994

View File

@@ -140,7 +140,7 @@ BasicEnergyUpdateTest::StateSwitchTest (
Ptr<WifiRadioEnergyModel> devModel =
DynamicCast<WifiRadioEnergyModel> (models.Get (0));
// check pointer
NS_TEST_ASSERT_MSG_NE (NULL, devModel, "NULL pointer to device model!");
NS_TEST_ASSERT_MSG_NE (0, devModel, "NULL pointer to device model!");
/*
* The radio will stay IDLE for m_timeS seconds. Then it will switch into a