From 127e976ec287df4ceb16a3b176b58497e58e0d8d Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Wed, 4 Aug 2010 19:29:11 +0000 Subject: Remove warnings from USB debug console code. Signed-off-by: Myles Watson Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5683 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/pc80/usbdebug_serial.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pc80') diff --git a/src/pc80/usbdebug_serial.c b/src/pc80/usbdebug_serial.c index 5dd427dd00..f3e7d5f281 100644 --- a/src/pc80/usbdebug_serial.c +++ b/src/pc80/usbdebug_serial.c @@ -34,7 +34,7 @@ void usbdebug_tx_byte(unsigned char data) (CONFIG_DCACHE_RAM_BASE + CONFIG_DCACHE_RAM_SIZE - sizeof(struct ehci_debug_info)); if (dbg_info->ehci_debug) { - dbgp_bulk_write_x(dbg_info, &data, 1); + dbgp_bulk_write_x(dbg_info, (char*)&data, 1); } } @@ -47,6 +47,6 @@ void usbdebug_ram_tx_byte(unsigned char data) ((CONFIG_RAMTOP) - sizeof(struct ehci_debug_info)); if (dbg_info->ehci_debug) { - dbgp_bulk_write_x(dbg_info, &data, 1); + dbgp_bulk_write_x(dbg_info, (char*)&data, 1); } } -- cgit v1.2.3