From d157f74b5dffef42ce08d319836954636ebb9833 Mon Sep 17 00:00:00 2001 From: asvitkine <> Date: Tue, 27 Dec 2011 07:29:34 +0000 Subject: [PATCH] fix a warning and indents --- BasiliskII/src/slirp/if.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/BasiliskII/src/slirp/if.c b/BasiliskII/src/slirp/if.c index 94132ca8..eab8a46e 100644 --- a/BasiliskII/src/slirp/if.c +++ b/BasiliskII/src/slirp/if.c @@ -274,9 +274,9 @@ if_start(void) return; /* Nothing to do */ again: - /* check if we can really output */ - if (!slirp_can_output()) - return; + /* check if we can really output */ + if (!slirp_can_output()) + return; /* * See which queue to get next packet from @@ -313,9 +313,9 @@ 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); + m_free(ifm); if (if_queued) goto again;