Re: [U-Boot] [PATCH 8/9] m68k: Change memsz to a signed char to avoid warning
On 06/01/2012 04:54, Simon Glass wrote: There doesn't seem to be any reason for using uchar here, so change it to char. This fixes a warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness Signed-off-by: Simon Glass s...@chromium.org --- Applied to u-boot-staging, sba...@denx.de branch, thanks. Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: off...@denx.de = ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH 8/9] m68k: Change memsz to a signed char to avoid warning
Acked-by: Mike Frysinger vap...@gentoo.org -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH 8/9] m68k: Change memsz to a signed char to avoid warning
There doesn't seem to be any reason for using uchar here, so change it to char. This fixes a warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness Signed-off-by: Simon Glass s...@chromium.org --- arch/m68k/lib/board.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/m68k/lib/board.c b/arch/m68k/lib/board.c index 259b71c..1526967 100644 --- a/arch/m68k/lib/board.c +++ b/arch/m68k/lib/board.c @@ -639,7 +639,7 @@ void board_init_r (gd_t *id, ulong dest_addr) */ { ulong pram = 0; - uchar memsz[32]; + char memsz[32]; #ifdef CONFIG_PRAM pram = getenv_ulong(pram, 10, CONFIG_PRAM); -- 1.7.3.1 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot