summaryrefslogtreecommitdiff
path: root/src/pc80/usbdebug_serial.c
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2010-08-04 19:29:11 +0000
committerMyles Watson <mylesgw@gmail.com>2010-08-04 19:29:11 +0000
commit127e976ec287df4ceb16a3b176b58497e58e0d8d (patch)
tree73f3a4b2a77f226bdf97d335aa4333d710070a2b /src/pc80/usbdebug_serial.c
parent8c4f31b3b5f6c3b7ba0ece39cd7df6273ff70a7e (diff)
Remove warnings from USB debug console code.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5683 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/pc80/usbdebug_serial.c')
-rw-r--r--src/pc80/usbdebug_serial.c4
1 files changed, 2 insertions, 2 deletions
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);
}
}