mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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>
This commit is contained in:

committed by
Tom Rini

parent
50c2a91b67
commit
2f0877c7f4
@ -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)
|
||||
|
Reference in New Issue
Block a user