From e5409801ddc4c9e9307cd62a129faee038c396f5 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Sun, 31 Mar 2013 14:56:23 +0200 Subject: [PATCH] build fix: PHY_ADDR should be uint32 Signed-off-by: Oleksij Rempel --- target_firmware/wlan/if_athvar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.25.1