projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1a28c6
)
m68k: Change memsz to a signed char to avoid warning
author
Simon Glass
<sjg@chromium.org>
Thu, 5 Jan 2012 17:54:56 +0000
(17:54 +0000)
committer
Wolfgang Denk
<wd@denx.de>
Sat, 3 Mar 2012 15:56:43 +0000
(16:56 +0100)
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>
arch/m68k/lib/board.c
patch
|
blob
|
history
diff --git
a/arch/m68k/lib/board.c
b/arch/m68k/lib/board.c
index 259b71c3b26e1147ce6c5fb4f8c91d23d6eff696..1526967fe3e73d90f13d76314696d75c61b3db55 100644
(file)
--- 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;
-
u
char memsz[32];
+ char memsz[32];
#ifdef CONFIG_PRAM
pram = getenv_ulong("pram", 10, CONFIG_PRAM);