aboutsummaryrefslogtreecommitdiff
path: root/slirp/if.c
diff options
context:
space:
mode:
Diffstat (limited to 'slirp/if.c')
-rw-r--r--slirp/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/if.c b/slirp/if.c
index 67a7b6ff82..361d7f3640 100644
--- a/slirp/if.c
+++ b/slirp/if.c
@@ -291,7 +291,7 @@ if_start(void)
}
/* Encapsulate the packet for sending */
- if_encap(ifm->m_data, ifm->m_len);
+ if_encap((uint8_t *)ifm->m_data, ifm->m_len);
m_free(ifm);