aboutsummaryrefslogtreecommitdiff
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
commit8a72f380f6c7b40cbdd3b6cf54570f96ccb5655e (patch)
treefd9f22f88689d28105adfd32e00feffc46bd19a9 /hw/ide
parent37159f1305ef9751c8939443eae218cce24b9beb (diff)
downloadqemu-8a72f380f6c7b40cbdd3b6cf54570f96ccb5655e.zip
qemu-8a72f380f6c7b40cbdd3b6cf54570f96ccb5655e.tar.gz
qemu-8a72f380f6c7b40cbdd3b6cf54570f96ccb5655e.tar.bz2
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 aeb77a0..49a9b93 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 */