Revision 757506d2
b/hw/ide/internal.h | ||
---|---|---|
486 | 486 |
|
487 | 487 |
static inline IDEState *bmdma_active_if(BMDMAState *bmdma) |
488 | 488 |
{ |
489 |
assert(bmdma->unit != -1); |
|
489 |
assert(bmdma->unit != (uint8_t)-1);
|
|
490 | 490 |
return bmdma->bus->ifs + bmdma->unit; |
491 | 491 |
} |
492 | 492 |
|
Also available in: Unified diff