ide: Fix off-by-one error in array index check
commitfb60105d4942a26f571b1be92a8b9e7528d0c4d8
authorKevin Wolf <kwolf@redhat.com>
Wed, 26 Oct 2011 09:52:47 +0000 (26 11:52 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 28 Oct 2011 17:25:49 +0000 (28 19:25 +0200)
tree5b058285c71f5ec30c5ca3dcc2e235283919c9af
parent64ebe71aa0e498d24e8c02b133192142fce3a0d0
ide: Fix off-by-one error in array index check

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
hw/ide/core.c