projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c0e9a8
)
cmd_log.c: Fix assignment differ in signedness
author
Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com>
Wed, 2 Apr 2008 06:03:57 +0000
(08:03 +0200)
committer
Wolfgang 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
patch
|
blob
|
history
diff --git
a/common/cmd_log.c
b/common/cmd_log.c
index 34b36ff1dd8d31ff99781ef2ae52e5b7c95ef7ec..b9f9ba03428fe2c7d35dff7b6ae2a2b2880c9374 100644
(file)
--- 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 */