From 8a72f380f6c7b40cbdd3b6cf54570f96ccb5655e Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Wed, 7 Oct 2009 18:18:20 +0200 Subject: [PATCH] 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 --- hw/ide/microdrive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.11.4.GIT