mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 04:13:32 +00:00
Silence a warning.
svn path=/trunk/; revision=42229
This commit is contained in:
@@ -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.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user