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-Tag: v0.12.0-rc0~555 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8a72f380f6c7b40cbdd3b6cf54570f96ccb5655e;p=thirdparty%2Fqemu.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 aeb77a030fe..49a9b93642c 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 */