]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd_log.c: Fix assignment differ in signedness
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wed, 2 Apr 2008 06:03:57 +0000 (08:03 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 17 Apr 2008 21:05:22 +0000 (14:05 -0700)
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>
common/cmd_log.c

index 34b36ff1dd8d31ff99781ef2ae52e5b7c95ef7ec..b9f9ba03428fe2c7d35dff7b6ae2a2b2880c9374 100644 (file)
@@ -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 */