diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2010-02-23 04:37:56 +0300 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-02-24 02:06:18 +0300 |
commit | 0ad22703f06af5fe100cfe6f08b1f32ea89cd5b1 (patch) | |
tree | 8a999b5a20cb76f3896cf2bb9a4055d6c0cc6f63 /tools | |
parent | 5b28e913f4519870ad2ca06cd7845b053f78bf0f (diff) | |
download | u-boot-0ad22703f06af5fe100cfe6f08b1f32ea89cd5b1.tar.xz |
tools: fix imximage warning
Fix build warning:
Configuring for MPC837XEMDS board...
imximage.c: In function `imximage_parse_cfg_file':
imximage.c:146: warning: passing argument 2 of `getline' from incompatible pointer type
/usr/include/bits/stdio.h:116: note: expected `size_t *' but argument is of type `uint32_t *'
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/imximage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/imximage.c b/tools/imximage.c index 43da67800e..df2d8c4d7b 100644 --- a/tools/imximage.c +++ b/tools/imximage.c @@ -129,7 +129,7 @@ static uint32_t imximage_parse_cfg_file(struct imx_header *imxhdr, char *name) char *token, *saveptr1, *saveptr2; int lineno = 0; int fld, value; - uint32_t len; + size_t len; int dcd_len = 0; dcd_t *dcd = &imxhdr->dcd_table; int32_t cmd; |