From 0881253580391624773f098f1b1017d8c8743506 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Mon, 1 Apr 2013 08:26:41 +0200 Subject: [PATCH] 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 --- target_firmware/wlan/if_ath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.31.1