diff options
author | Wolfgang Denk <wd@denx.de> | 2009-08-19 11:42:56 +0200 |
---|---|---|
committer | Tom Rix <Tom.Rix@windriver.com> | 2009-10-03 09:04:20 -0500 |
commit | c928d1dc89abb1c2bea1b0ae4ccf0cee43cf11b3 (patch) | |
tree | 9def5e6f2333ac67b25a4a710f531cc13e494048 /tools | |
parent | c7138920b85ac05c7601105dd9961142995191cf (diff) |
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/mkimage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mkimage.h b/tools/mkimage.h index 120970fc68..96f2ef8f13 100644 --- a/tools/mkimage.h +++ b/tools/mkimage.h @@ -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. |