From: Juan Quintela Date: Wed, 7 Oct 2009 16:18:20 +0000 (+0200) Subject: ide: microdrive cycle field is set as uint8_t X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8a72f380f6c7b40cbdd3b6cf54570f96ccb5655e;p=qemu.git ide: microdrive cycle field is set as uint8_t Really, it is used as a boolean Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- 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 */