Bug 1368 - [LLVM] error: added parentheses

This commit is contained in:
Tommaso Pecorella
2012-02-24 00:20:27 +01:00
parent 227f459b55
commit 7c93def6b9

View File

@@ -433,7 +433,7 @@ void Ipv6L3Protocol::SetupLoopback ()
/* see if we have already an loopback NetDevice */
for (i = 0; i < m_node->GetNDevices (); i++)
{
if (device = DynamicCast<LoopbackNetDevice> (m_node->GetDevice (i)))
if ((device = DynamicCast<LoopbackNetDevice> (m_node->GetDevice (i))))
{
break;
}