From: Kim Phillips Date: Tue, 23 Feb 2010 01:37:56 +0000 (-0600) Subject: tools: fix imximage warning X-Git-Tag: v2010.03-rc1~59 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0ad22703f06af5fe100cfe6f08b1f32ea89cd5b1;p=platform%2Fkernel%2Fu-boot.git 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 --- diff --git a/tools/imximage.c b/tools/imximage.c index 43da678..df2d8c4 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;