summaryrefslogtreecommitdiff
path: root/hw/ide/ahci.h
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2015-07-04 02:06:05 -0400
committerJohn Snow <jsnow@redhat.com>2015-07-04 02:06:05 -0400
commit9364384de0e3b8a5bdea67ba49bee9ea7f1b8f26 (patch)
tree6964a5916fd93ba941985f3f4bc15b153e030acf /hw/ide/ahci.h
parent7c03a691077e71a08bbca06568cd97f09537458c (diff)
downloadqemu-9364384de0e3b8a5bdea67ba49bee9ea7f1b8f26.tar.gz
ahci: correct types in NCQTransferState
Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 1435767578-32743-8-git-send-email-jsnow@redhat.com
Diffstat (limited to 'hw/ide/ahci.h')
-rw-r--r--hw/ide/ahci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ide/ahci.h b/hw/ide/ahci.h
index 47a3122270..c728e3a07d 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;