summaryrefslogtreecommitdiff
path: root/hw/ide
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 18:18:20 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:45 -0500
commitc5507440f11fb93c28ed891c59ccc81995b5766d (patch)
treefd9f22f88689d28105adfd32e00feffc46bd19a9 /hw/ide
parentffdc54976a81add881a08f3328615b6bf71adc4d (diff)
downloadqemu-c5507440f11fb93c28ed891c59ccc81995b5766d.tar.gz
qemu-c5507440f11fb93c28ed891c59ccc81995b5766d.tar.bz2
qemu-c5507440f11fb93c28ed891c59ccc81995b5766d.zip
ide: microdrive cycle field is set as uint8_t
Really, it is used as a boolean Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ide')
-rw-r--r--hw/ide/microdrive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/microdrive.c b/hw/ide/microdrive.c
index aeb77a030f..49a9b93642 100644
--- a/hw/ide/microdrive.c
+++ b/hw/ide/microdrive.c
@@ -51,7 +51,7 @@ typedef struct {
uint8_t ctrl;
uint16_t io;
- int cycle;
+ uint8_t cycle;
} MicroDriveState;
/* Register bitfields */