[U-Boot-Users] unassigned-patches/10: [PATCH 1/2] cmd_log.c: Fix assignment differ in signedness

u-boot at bugs.denx.de u-boot at bugs.denx.de
Tue Apr 8 16:40:01 CEST 2008


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 at jcrosoft.com>

---
Added to GNATS database as unassigned-patches/10
>Responsible:    patch-coord
>Message-Id:     <1207116238-7253-2-git-send-email-plagnioj at jcrosoft.com>
>In-Reply-To:    <1207116238-7253-1-git-send-email-plagnioj at jcrosoft.com>
>References:     <1207116238-7253-1-git-send-email-plagnioj at jcrosoft.com>
>Patch-Date:     Wed Apr 02 08:03:57 +0200 2008
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 */
-- 
1.5.4.5


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users







More information about the U-Boot mailing list