mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:23:01 +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));
|
sizeof(SRB_IO_CONTROL));
|
||||||
|
|
||||||
DiskSmartStatus->Reason = 0; // Unknown;
|
DiskSmartStatus->Reason = 0; // Unknown;
|
||||||
DiskSmartStatus->PredictFailure = ((cmdOutParameters->bBuffer[3] == 0xf4) &&
|
DiskSmartStatus->PredictFailure = ((((PUCHAR)cmdOutParameters->bBuffer)[3] == 0xf4) &&
|
||||||
(cmdOutParameters->bBuffer[4] == 0x2c));
|
(((PUCHAR)cmdOutParameters->bBuffer)[4] == 0x2c));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue