summaryrefslogtreecommitdiff
path: root/arch/m68k/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-01-05 17:54:56 +0000
committerWolfgang Denk <wd@denx.de>2012-03-03 16:56:43 +0100
commita5466651e90439f400449b29526dac99c8f3dad4 (patch)
treebd3bac9b6d0e3d72e34ed516351eb341a076bfe5 /arch/m68k/lib
parenta1a28c6e64b9a6b0b911d066c627bc77f52179fb (diff)
downloadu-boot-imx-a5466651e90439f400449b29526dac99c8f3dad4.zip
u-boot-imx-a5466651e90439f400449b29526dac99c8f3dad4.tar.gz
u-boot-imx-a5466651e90439f400449b29526dac99c8f3dad4.tar.bz2
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>
Diffstat (limited to 'arch/m68k/lib')
-rw-r--r--arch/m68k/lib/board.c2
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);