diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-09-19 12:10:18 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-09-20 10:30:54 -0400 |
commit | 2f0877c7f4fa53ba4aedf2333908057a3f6ac413 (patch) | |
tree | a3c3d5ac50080113ca7c3e95ad7df195b1ca1098 /common/image-fdt.c | |
parent | 50c2a91b67c2ce37cb47de2bd30dfc721769aaae (diff) | |
download | u-boot-imx-2f0877c7f4fa53ba4aedf2333908057a3f6ac413.zip u-boot-imx-2f0877c7f4fa53ba4aedf2333908057a3f6ac413.tar.gz u-boot-imx-2f0877c7f4fa53ba4aedf2333908057a3f6ac413.tar.bz2 |
FIT: delete unnecessary casts
Becuase fdt_check_header function takes (const void *)
type argument, the argument should be passed to it
without being casted to (char *).
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'common/image-fdt.c')
-rw-r--r-- | common/image-fdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image-fdt.c b/common/image-fdt.c index 2e22cca..6f9ce7d 100644 --- a/common/image-fdt.c +++ b/common/image-fdt.c @@ -55,7 +55,7 @@ static const image_header_t *image_get_fdt(ulong fdt_addr) fdt_error("uImage is compressed"); return NULL; } - if (fdt_check_header((char *)image_get_data(fdt_hdr)) != 0) { + if (fdt_check_header((void *)image_get_data(fdt_hdr)) != 0) { fdt_error("uImage data is not a fdt"); return NULL; } |