mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 12:39:22 -04:00
cmd_log.c: Fix assignment differ in signedness
In function 'logbuff_init_ptrs': cmd_log.c:79: warning: pointer targets in assignment differ in signedness Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
6c0e9a8f1c
commit
a253b38bf5
@ -76,7 +76,7 @@ void logbuff_init_ptrs (void)
|
|||||||
lbuf = (char *)CONFIG_ALT_LB_ADDR;
|
lbuf = (char *)CONFIG_ALT_LB_ADDR;
|
||||||
#else
|
#else
|
||||||
log = (logbuff_t *)(gd->bd->bi_memsize-LOGBUFF_LEN) - 1;
|
log = (logbuff_t *)(gd->bd->bi_memsize-LOGBUFF_LEN) - 1;
|
||||||
lbuf = log->buf;
|
lbuf = (char *)log->buf;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Set up log version */
|
/* Set up log version */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user