public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/9] common/menu.c: Fix build warning
@ 2011-12-03 16:46 Anatolij Gustschin
  2011-12-03 16:46 ` [U-Boot] [PATCH 2/9] drivers/mtd/nand/nand_spl_simple.c: Fix GCC 4.6 warnings Anatolij Gustschin
                   ` (10 more replies)
  0 siblings, 11 replies; 38+ messages in thread
From: Anatolij Gustschin @ 2011-12-03 16:46 UTC (permalink / raw)
  To: u-boot

Fix:
menu.c: In function 'menu_item_print':
menu.c:91: warning: passing argument 1 of 'putc' makes integer from
pointer without a cast

Signed-off-by: Anatolij Gustschin <agust@denx.de>
---
 common/menu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/menu.c b/common/menu.c
index ca1baef..5e0817c 100644
--- a/common/menu.c
+++ b/common/menu.c
@@ -88,7 +88,7 @@ static inline void *menu_item_print(struct menu *m,
 				void *extra)
 {
 	if (!m->item_data_print) {
-		putc(item->key);
+		puts(item->key);
 		putc('\n');
 	} else {
 		m->item_data_print(item->data);
-- 
1.7.6.4

^ permalink raw reply related	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2011-12-09  9:37 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-03 16:46 [U-Boot] [PATCH 1/9] common/menu.c: Fix build warning Anatolij Gustschin
2011-12-03 16:46 ` [U-Boot] [PATCH 2/9] drivers/mtd/nand/nand_spl_simple.c: Fix GCC 4.6 warnings Anatolij Gustschin
2011-12-04  9:07   ` Heiko Schocher
2011-12-04 11:24   ` Marek Vasut
2011-12-07 22:10   ` Scott Wood
2011-12-03 16:46 ` [U-Boot] [PATCH 3/9] drivers/mtd/nand/nand_spl_load.c: Fix GCC 4.6 warning Anatolij Gustschin
2011-12-04  9:15   ` Heiko Schocher
2011-12-04 11:24   ` Marek Vasut
2011-12-07 22:11   ` Scott Wood
2011-12-03 16:46 ` [U-Boot] [PATCH 4/9] drivers/usb/musb/musb_udc.c: " Anatolij Gustschin
2011-12-04 11:10   ` Remy Bohmer
2011-12-04 11:25   ` Marek Vasut
2011-12-09  9:36   ` Wolfgang Denk
2011-12-03 16:46 ` [U-Boot] [PATCH 5/9] drivers/usb/gadget/core.c: " Anatolij Gustschin
2011-12-04 11:06   ` Remy Bohmer
2011-12-04 11:27   ` Marek Vasut
2011-12-09  9:37   ` Wolfgang Denk
2011-12-03 16:46 ` [U-Boot] [PATCH 6/9] drivers/usb/gadget/ep0.c: " Anatolij Gustschin
2011-12-04 11:11   ` Remy Bohmer
2011-12-04 11:28   ` Marek Vasut
2011-12-09  9:37   ` Wolfgang Denk
2011-12-03 16:46 ` [U-Boot] [PATCH 7/9] arch/arm/cpu/armv7/omap-common/spl.c: Fix GCC 4.2 warnings Anatolij Gustschin
2011-12-04 11:28   ` Marek Vasut
2011-12-05 15:04     ` Tom Rini
2011-12-03 16:46 ` [U-Boot] [PATCH 8/9] arch/arm/cpu/armv7/omap-common/clocks-common.c: Fix GCC 4.6 warnings Anatolij Gustschin
2011-12-04 11:29   ` Marek Vasut
2011-12-05 15:02   ` Tom Rini
2011-12-05 16:32     ` Anatolij Gustschin
2011-12-05 17:11       ` Tom Rini
2011-12-03 16:46 ` [U-Boot] [PATCH 9/9] arch/arm/include/asm/arch-omap5/clocks.h: Fix GCC 4.2 warnings Anatolij Gustschin
2011-12-04 11:30   ` Marek Vasut
2011-12-04 13:59     ` Anatolij Gustschin
2011-12-05 15:08       ` Tom Rini
2011-12-06  5:52         ` R, Sricharan
2011-12-04  9:17 ` [U-Boot] [PATCH 1/9] common/menu.c: Fix build warning Heiko Schocher
2011-12-04 11:27 ` Marek Vasut
2011-12-04 11:49   ` Anatolij Gustschin
2011-12-05 22:26 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox