mirror of
https://github.com/reactos/reactos.git
synced 2024-08-07 19:58:21 +00:00
Silence a warning.
svn path=/trunk/; revision=42229
This commit is contained in:
parent
015656ff6d
commit
1632e8b1db
|
@ -5424,13 +5424,20 @@ Return Value:
|
|||
// Fill in vendor identification fields.
|
||||
//
|
||||
|
||||
for (i = 0; i < 20; i += 2) {
|
||||
for (i = 0; i < 8; i += 2) {
|
||||
inquiryData->VendorId[i] =
|
||||
((PUCHAR)identifyData->ModelNumber)[i + 1];
|
||||
inquiryData->VendorId[i+1] =
|
||||
((PUCHAR)identifyData->ModelNumber)[i];
|
||||
}
|
||||
|
||||
for (i = 0; i < 12; i += 2) {
|
||||
inquiryData->ProductId[i] =
|
||||
((PUCHAR)identifyData->ModelNumber)[i + 8 + 1];
|
||||
inquiryData->ProductId[i+1] =
|
||||
((PUCHAR)identifyData->ModelNumber)[i + 8];
|
||||
}
|
||||
|
||||
//
|
||||
// Initialize unused portion of product id.
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue