From: Oleksij Rempel Date: Mon, 1 Apr 2013 06:26:41 +0000 (+0200) Subject: build fix: add type convert ath_desc ath_rx_desc X-Git-Tag: 1.3.2~10^2 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=0881253580391624773f098f1b1017d8c8743506;p=open-ath9k-htc-firmware.git build fix: add type convert ath_desc ath_rx_desc in this case there is nothing to fix. dd_desc can be used by different struct types, rx and tx. Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/if_ath.c b/target_firmware/wlan/if_ath.c index b787a84..baf1ae6 100755 --- a/target_firmware/wlan/if_ath.c +++ b/target_firmware/wlan/if_ath.c @@ -933,7 +933,7 @@ static a_int32_t ath_desc_alloc(struct ath_softc_tgt *sc) a_uint32_t i; struct ath_descdma *dd = &sc->sc_rxdma; - struct ath_rx_desc *ds = dd->dd_desc; + struct ath_rx_desc *ds = (struct ath_rx_desc *)dd->dd_desc; struct ath_rx_desc *ds_prev = NULL; asf_tailq_init(&sc->sc_rxdesc);