aboutsummaryrefslogtreecommitdiff
path: root/hw/ide/internal.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 17:58:34 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:44 -0500
commit96c35cebfe63c3fd1e628ddcf82309dd9bd00cab (patch)
tree9ceafce3f766ed733570b762555625cf465b413f /hw/ide/internal.h
parent6521dc629c97637af7e734f6975a6f8746e4cd84 (diff)
ide: change identify_data type to uint8_t
It is used everywhere as uint8_t except in one place. Cast to uint16_t in that place Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ide/internal.h')
-rw-r--r--hw/ide/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/internal.h b/hw/ide/internal.h
index 2e40431104..c55fa52b3b 100644
--- a/hw/ide/internal.h
+++ b/hw/ide/internal.h
@@ -374,7 +374,7 @@ struct IDEState {
int64_t nb_sectors;
int mult_sectors;
int identify_set;
- uint16_t identify_data[256];
+ uint8_t identify_data[512];
int drive_serial;
char drive_serial_str[21];
/* ide regs */