summaryrefslogtreecommitdiffstats
path: root/mmss/gmrf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mmss/gmrf.cpp')
-rw-r--r--mmss/gmrf.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/mmss/gmrf.cpp b/mmss/gmrf.cpp
index a2a60a8..e8bbffb 100644
--- a/mmss/gmrf.cpp
+++ b/mmss/gmrf.cpp
@@ -101,17 +101,17 @@ void gmrf_debug_init(gmrf_t *gmrf, const uint8_t *node_id, size_t len) {
void gmrf_debug_neigh(gmrf_t *gmrf, gmrf_iface_t *iface, const gmrf_addr_t *addr, float rxcost, float txcost) {
node_t *node = static_cast<node_t*>(gmrf);
- node->get_context()->node_neigh(node, iface, addr, rxcost, txcost);
+ node->get_context()->node_neigh(node, static_cast<iface_t*>(iface), addr, rxcost, txcost);
}
void gmrf_debug_neigh_lost(gmrf_t *gmrf, gmrf_iface_t *iface, const gmrf_addr_t *addr) {
node_t *node = static_cast<node_t*>(gmrf);
- node->get_context()->node_neigh_lost(node, iface, addr);
+ node->get_context()->node_neigh_lost(node, static_cast<iface_t*>(iface), addr);
}
void gmrf_debug_route(gmrf_t *gmrf, const uint8_t *node_id, size_t len, gmrf_iface_t *iface, const gmrf_addr_t *addr, int metric) {
node_t *node = static_cast<node_t*>(gmrf);
- node->get_context()->node_route(node, node_id, len, iface, addr, metric);
+ node->get_context()->node_route(node, node_id, len, static_cast<iface_t*>(iface), addr, metric);
}
void gmrf_debug_route_lost(gmrf_t *gmrf, const uint8_t *node_id, size_t len) {