mirror of
https://github.com/reactos/reactos.git
synced 2025-06-14 21:08:29 +00:00
Silence a warning.
svn path=/trunk/; revision=42229
This commit is contained in:
parent
015656ff6d
commit
1632e8b1db
1 changed files with 8 additions and 1 deletions
|
@ -5424,13 +5424,20 @@ Return Value:
|
||||||
// Fill in vendor identification fields.
|
// Fill in vendor identification fields.
|
||||||
//
|
//
|
||||||
|
|
||||||
for (i = 0; i < 20; i += 2) {
|
for (i = 0; i < 8; i += 2) {
|
||||||
inquiryData->VendorId[i] =
|
inquiryData->VendorId[i] =
|
||||||
((PUCHAR)identifyData->ModelNumber)[i + 1];
|
((PUCHAR)identifyData->ModelNumber)[i + 1];
|
||||||
inquiryData->VendorId[i+1] =
|
inquiryData->VendorId[i+1] =
|
||||||
((PUCHAR)identifyData->ModelNumber)[i];
|
((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.
|
// Initialize unused portion of product id.
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue