aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2012-09-27 14:07:25 -0600
committerJohn Rigby <john.rigby@linaro.org>2012-09-27 14:40:09 -0600
commit905d668b300e6a95edccd31038ffdec2e3540b95 (patch)
tree995e06f483727534083d43c6be4633177441f9c4
parent11daf721f70ba1aa1a1e7fe9ccd1b5cac016a646 (diff)
PXE: fix compile warning
Signed-off-by: John Rigby <john.rigby@linaro.org>
-rw-r--r--common/cmd_pxe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c
index dc7c2049b..be457f789 100644
--- a/common/cmd_pxe.c
+++ b/common/cmd_pxe.c
@@ -422,10 +422,10 @@ do_pxe_get(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
* for.
*/
#if defined(CONFIG_BOOTP_VENDOREX) && defined(CONFIG_BOOTP_VENDOREX_PXE_SHARED)
- if (pxe_dhcp_config_path(pxefile_addr_r) > 0
- || pxe_uuid_path(pxefile_addr_r) > 0
+ if (pxe_dhcp_config_path((void *)pxefile_addr_r) > 0
+ || pxe_uuid_path((void *)pxefile_addr_r) > 0
#else
- if (pxe_uuid_path(pxefile_addr_r) > 0
+ if (pxe_uuid_path((void *)pxefile_addr_r) > 0
#endif
|| pxe_mac_path((void *)pxefile_addr_r) > 0
|| pxe_ipaddr_paths((void *)pxefile_addr_r) > 0