summaryrefslogtreecommitdiff
path: root/common/cmd_log.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-04-02 08:03:57 +0200
committerWolfgang Denk <wd@denx.de>2008-04-17 14:05:22 -0700
commita253b38bf50c85227c33ca0febc870ee49d1588e (patch)
treefd5547c68118a8624756d62745b6fb9b672ddbba /common/cmd_log.c
parent6c0e9a8f1cc090fbfbc6f86b6b4fd17a1628f3df (diff)
downloadu-boot-imx-a253b38bf50c85227c33ca0febc870ee49d1588e.zip
u-boot-imx-a253b38bf50c85227c33ca0febc870ee49d1588e.tar.gz
u-boot-imx-a253b38bf50c85227c33ca0febc870ee49d1588e.tar.bz2
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>
Diffstat (limited to 'common/cmd_log.c')
-rw-r--r--common/cmd_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_log.c b/common/cmd_log.c
index 34b36ff..b9f9ba0 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 */