[packages] mrd6: fix ambigious call errors exposed during backfire/avr32 compilation
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 11 Jul 2011 00:59:26 +0000 (00:59 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 11 Jul 2011 00:59:26 +0000 (00:59 +0000)
SVN-Revision: 27587

ipv6/mrd6/patches/004-ambiguous_call_fix.patch [new file with mode: 0644]

diff --git a/ipv6/mrd6/patches/004-ambiguous_call_fix.patch b/ipv6/mrd6/patches/004-ambiguous_call_fix.patch
new file mode 100644 (file)
index 0000000..a72eb24
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/src/mrd.cpp
++++ b/src/mrd.cpp
+@@ -2342,8 +2342,8 @@ bool mrd::show_info(base_stream &out, co
+       out.xprintf("Registered sockets: %u reading, %u writing\n",
+               (uint32_t)m_read.size(), (uint32_t)m_write.size());
+       out.xprintf("MRIB prefix count: %u\n", mrib().registry_prefix_count());
+-      out.xprintf("Interface count: %u\n", m_intflist.size());
+-      out.xprintf("Group state count: %u\n", m_grplist.size());
++      out.xprintf("Interface count: %u\n", (uint32_t)m_intflist.size());
++      out.xprintf("Group state count: %u\n", (uint32_t)m_grplist.size());
+       return true;
+ }