Skip to content
Snippets Groups Projects
Commit a253b38b authored by Jean-Christophe PLAGNIOL-VILLARD's avatar Jean-Christophe PLAGNIOL-VILLARD Committed by Wolfgang Denk
Browse files

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: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
parent 6c0e9a8f
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ void logbuff_init_ptrs (void)
lbuf = (char *)CONFIG_ALT_LB_ADDR;
#else
log = (logbuff_t *)(gd->bd->bi_memsize-LOGBUFF_LEN) - 1;
lbuf = log->buf;
lbuf = (char *)log->buf;
#endif
/* Set up log version */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment