diff options
author | Juan Quintela <quintela@redhat.com> | 2009-10-07 18:18:20 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-27 12:28:45 -0500 |
commit | c5507440f11fb93c28ed891c59ccc81995b5766d (patch) | |
tree | fd9f22f88689d28105adfd32e00feffc46bd19a9 /hw/ide | |
parent | ffdc54976a81add881a08f3328615b6bf71adc4d (diff) | |
download | qemu-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.c | 2 |
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 */ |