From: Oleksij Rempel Date: Sun, 31 Mar 2013 12:56:23 +0000 (+0200) Subject: build fix: PHY_ADDR should be uint32 X-Git-Tag: 1.3.2~10^2~39 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e5409801ddc4c9e9307cd62a129faee038c396f5;p=librecmc%2Fopen-ath9k-htc-firmware.git build fix: PHY_ADDR should be uint32 Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/wlan/if_athvar.h b/target_firmware/wlan/if_athvar.h index f5ac24f..4ff4a00 100755 --- a/target_firmware/wlan/if_athvar.h +++ b/target_firmware/wlan/if_athvar.h @@ -229,7 +229,7 @@ struct ath_rx_buf struct ath_rx_status bf_rx_status; }; -#define ATH_BUF_GET_DESC_PHY_ADDR(bf) bf->bf_desc +#define ATH_BUF_GET_DESC_PHY_ADDR(bf) (a_uint32_t)bf->bf_desc #define ATH_BUF_GET_DESC_PHY_ADDR_WITH_IDX(bf, idx) (adf_os_dma_addr_t)(&bf->bf_descarr[idx]) #define ATH_BUF_SET_DESC_PHY_ADDR(bf, addr) #define ATH_BUF_SET_DESC_PHY_ADDR_WITH_IDX(bf, idx, addr)