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 | 8a72f380f6c7b40cbdd3b6cf54570f96ccb5655e (patch) | |
tree | fd9f22f88689d28105adfd32e00feffc46bd19a9 /hw/ide | |
parent | 37159f1305ef9751c8939443eae218cce24b9beb (diff) |
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 */ |