diff options
author | Simon Glass <sjg@chromium.org> | 2012-01-05 17:54:56 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2012-03-03 15:56:43 (GMT) |
commit | a5466651e90439f400449b29526dac99c8f3dad4 (patch) | |
tree | bd3bac9b6d0e3d72e34ed516351eb341a076bfe5 | |
parent | a1a28c6e64b9a6b0b911d066c627bc77f52179fb (diff) | |
download | u-boot-a5466651e90439f400449b29526dac99c8f3dad4.tar.xz |
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 <sjg@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | 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); |