mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
tools/mkimage: fix compiler warnings, use "const"
This fixes some compiler warnings: tools/default_image.c:141: warning: initialization from incompatible pointer type tools/fit_image.c:202: warning: initialization from incompatible pointer type and changes to code to use "const" attributes in a few places where it's appropriate. Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
@@ -104,7 +104,7 @@ struct image_type_params {
|
||||
*/
|
||||
int (*verify_header) (unsigned char *, int, struct mkimage_params *);
|
||||
/* Prints image information abstracting from image header */
|
||||
void (*print_header) (void *);
|
||||
void (*print_header) (const void *);
|
||||
/*
|
||||
* The header or image contents need to be set as per image type to
|
||||
* be generated using this callback function.
|
||||
|
Reference in New Issue
Block a user