projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c97e30
)
virtio-serial: use uint32_t to count ports
author
Amit Shah
<amit.shah@redhat.com>
Thu, 29 Nov 2012 10:14:44 +0000
(15:44 +0530)
committer
Amit Shah
<amit.shah@redhat.com>
Thu, 13 Dec 2012 10:26:19 +0000
(15:56 +0530)
Signed-off-by: Amit Shah <amit.shah@redhat.com>
hw/virtio-serial-bus.c
patch
|
blob
|
history
diff --git
a/hw/virtio-serial-bus.c
b/hw/virtio-serial-bus.c
index
155da58
..
30f450c
100644
(file)
--- a/
hw/virtio-serial-bus.c
+++ b/
hw/virtio-serial-bus.c
@@
-56,7
+56,7
@@
struct VirtIOSerial {
struct {
QEMUTimer *timer;
-
in
t nr_active_ports;
+
uint32_
t nr_active_ports;
struct {
VirtIOSerialPort *port;
uint8_t host_connected;
@@
-637,7
+637,7
@@
static void virtio_serial_save(QEMUFile *f, void *opaque)
static void virtio_serial_post_load_timer_cb(void *opaque)
{
-
in
t i;
+
uint32_
t i;
VirtIOSerial *s = opaque;
VirtIOSerialPort *port;
uint8_t host_connected;