From: Oleksij Rempel Date: Wed, 24 Apr 2013 17:20:02 +0000 (+0200) Subject: build fix: convert type for VBUF_GET_DATA_ADDR X-Git-Tag: 1.3.2~2^2~1 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=1798274027a5393c91efeb7e23ae0493b7e75ba3;p=open-ath9k-htc-firmware.git build fix: convert type for VBUF_GET_DATA_ADDR Signed-off-by: Oleksij Rempel --- diff --git a/target_firmware/magpie_fw_dev/target/hif/k2_fw_usb_api.c b/target_firmware/magpie_fw_dev/target/hif/k2_fw_usb_api.c index 82756fa..a297c23 100755 --- a/target_firmware/magpie_fw_dev/target/hif/k2_fw_usb_api.c +++ b/target_firmware/magpie_fw_dev/target/hif/k2_fw_usb_api.c @@ -622,7 +622,7 @@ void vUsb_Status_In_patch(void) evntbuf = usbFifoConf.get_event_buf(); if ( evntbuf != NULL ) { - regaddr = VBUF_GET_DATA_ADDR(evntbuf); + regaddr = (u32_t *)VBUF_GET_DATA_ADDR(evntbuf); mBufLen = evntbuf->buf_length; } else