summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-09-19 12:10:18 +0900
committerTom Rini <trini@ti.com>2013-09-20 10:30:54 -0400
commit2f0877c7f4fa53ba4aedf2333908057a3f6ac413 (patch)
treea3c3d5ac50080113ca7c3e95ad7df195b1ca1098 /tools
parent50c2a91b67c2ce37cb47de2bd30dfc721769aaae (diff)
downloadu-boot-2f0877c7f4fa53ba4aedf2333908057a3f6ac413.tar.gz
u-boot-2f0877c7f4fa53ba4aedf2333908057a3f6ac413.tar.bz2
u-boot-2f0877c7f4fa53ba4aedf2333908057a3f6ac413.zip
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 'tools')
-rw-r--r--tools/fit_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fit_image.c b/tools/fit_image.c
index 47beaaff2a..0400a60678 100644
--- a/tools/fit_image.c
+++ b/tools/fit_image.c
@@ -23,7 +23,7 @@ static image_header_t header;
static int fit_verify_header (unsigned char *ptr, int image_size,
struct mkimage_params *params)
{
- return fdt_check_header ((void *)ptr);
+ return fdt_check_header(ptr);
}
static int fit_check_image_types (uint8_t type)