mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
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>
This commit is contained in:
parent
a1a28c6e64
commit
a5466651e9
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue