From 9364384de0e3b8a5bdea67ba49bee9ea7f1b8f26 Mon Sep 17 00:00:00 2001 From: John Snow Date: Sat, 4 Jul 2015 02:06:05 -0400 Subject: ahci: correct types in NCQTransferState Signed-off-by: John Snow Reviewed-by: Stefan Hajnoczi Message-id: 1435767578-32743-8-git-send-email-jsnow@redhat.com --- hw/ide/ahci.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/ide/ahci.h') diff --git a/hw/ide/ahci.h b/hw/ide/ahci.h index 47a3122..c728e3a 100644 --- a/hw/ide/ahci.h +++ b/hw/ide/ahci.h @@ -260,8 +260,8 @@ typedef struct NCQTransferState { uint64_t lba; uint8_t tag; uint8_t cmd; - int slot; - int used; + uint8_t slot; + bool used; bool halt; } NCQTransferState; -- cgit v1.1