* [Qemu-devel] [4966] Fix load width for slave address in i2c_bus_load (Chris Lalancette).
@ 2008-07-29 13:57 Andrzej Zaborowski
0 siblings, 0 replies; only message in thread
From: Andrzej Zaborowski @ 2008-07-29 13:57 UTC (permalink / raw)
To: qemu-devel
Revision: 4966
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4966
Author: balrog
Date: 2008-07-29 13:57:48 +0000 (Tue, 29 Jul 2008)
Log Message:
-----------
Fix load width for slave address in i2c_bus_load (Chris Lalancette).
Modified Paths:
--------------
trunk/hw/i2c.c
Modified: trunk/hw/i2c.c
===================================================================
--- trunk/hw/i2c.c 2008-07-29 13:16:31 UTC (rev 4965)
+++ trunk/hw/i2c.c 2008-07-29 13:57:48 UTC (rev 4966)
@@ -33,7 +33,7 @@
/* The bus is loaded before attached devices, so load and save the
current device id. Devices will check themselves as loaded. */
- bus->saved_address = qemu_get_be32(f);
+ bus->saved_address = (int8_t) qemu_get_byte(f);
bus->current_dev = NULL;
return 0;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-29 13:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-29 13:57 [Qemu-devel] [4966] Fix load width for slave address in i2c_bus_load (Chris Lalancette) Andrzej Zaborowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).