mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 09:25:44 +00:00
[Disk_new]
Silence GCC 4.6 array bounds warning/error. svn path=/trunk/; revision=55956
This commit is contained in:
parent
6e9f60e050
commit
b5f0b7ae64
1 changed files with 2 additions and 2 deletions
|
@ -1040,8 +1040,8 @@ Return Value:
|
|||
sizeof(SRB_IO_CONTROL));
|
||||
|
||||
DiskSmartStatus->Reason = 0; // Unknown;
|
||||
DiskSmartStatus->PredictFailure = ((cmdOutParameters->bBuffer[3] == 0xf4) &&
|
||||
(cmdOutParameters->bBuffer[4] == 0x2c));
|
||||
DiskSmartStatus->PredictFailure = ((((PUCHAR)cmdOutParameters->bBuffer)[3] == 0xf4) &&
|
||||
(((PUCHAR)cmdOutParameters->bBuffer)[4] == 0x2c));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue