freebsd_network: Add cast so mbuf.h can be included as C++.

It is, as ieee80211_haiku is a C++ file.
This commit is contained in:
Augustin Cavalier
2019-01-03 21:20:36 -05:00
parent 67a0cb89e6
commit 8084e7c566
@@ -204,7 +204,7 @@ m_cljset(struct mbuf *m, void *cl, int type)
break;
}
m->m_data = m->m_ext.ext_buf = cl;
m->m_data = m->m_ext.ext_buf = (caddr_t)cl;
m->m_ext.ext_size = size;
m->m_ext.ext_type = type;
m->m_ext.ext_flags = EXT_FLAG_EMBREF;