Unbreak the build on 64-bit architectures as well.

This commit is contained in:
Dag-Erling Smørgrav 2007-05-06 21:06:08 +00:00
parent 6a7309390f
commit c8285e3723
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169326

View File

@ -1192,7 +1192,7 @@ rum_tx_mgt(struct rum_softc *sc, struct mbuf *m0, struct ieee80211_node *ni)
xferlen += 4; xferlen += 4;
DPRINTFN(10, ("sending mgt frame len=%d rate=%d xfer len=%d\n", DPRINTFN(10, ("sending mgt frame len=%d rate=%d xfer len=%d\n",
m0->m_pkthdr.len + RT2573_TX_DESC_SIZE, rate, xferlen)); m0->m_pkthdr.len + (int)RT2573_TX_DESC_SIZE, rate, xferlen));
usbd_setup_xfer(data->xfer, sc->sc_tx_pipeh, data, data->buf, xferlen, usbd_setup_xfer(data->xfer, sc->sc_tx_pipeh, data, data->buf, xferlen,
USBD_FORCE_SHORT_XFER | USBD_NO_COPY, RUM_TX_TIMEOUT, rum_txeof); USBD_FORCE_SHORT_XFER | USBD_NO_COPY, RUM_TX_TIMEOUT, rum_txeof);
@ -1354,7 +1354,7 @@ rum_tx_data(struct rum_softc *sc, struct mbuf *m0, struct ieee80211_node *ni)
xferlen += 4; xferlen += 4;
DPRINTFN(10, ("sending frame len=%d rate=%d xfer len=%d\n", DPRINTFN(10, ("sending frame len=%d rate=%d xfer len=%d\n",
m0->m_pkthdr.len + RT2573_TX_DESC_SIZE, rate, xferlen)); m0->m_pkthdr.len + (int)RT2573_TX_DESC_SIZE, rate, xferlen));
usbd_setup_xfer(data->xfer, sc->sc_tx_pipeh, data, data->buf, xferlen, usbd_setup_xfer(data->xfer, sc->sc_tx_pipeh, data, data->buf, xferlen,
USBD_FORCE_SHORT_XFER | USBD_NO_COPY, RUM_TX_TIMEOUT, rum_txeof); USBD_FORCE_SHORT_XFER | USBD_NO_COPY, RUM_TX_TIMEOUT, rum_txeof);