From a253b38bf50c85227c33ca0febc870ee49d1588e Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Wed, 2 Apr 2008 08:03:57 +0200 Subject: 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 --- common/cmd_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/cmd_log.c') diff --git a/common/cmd_log.c b/common/cmd_log.c index 34b36ff1dd..b9f9ba0342 100644 --- a/common/cmd_log.c +++ b/common/cmd_log.c @@ -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 */ -- cgit v1.2.3