4c4
< * $Revision: 17 $
---
> * $Revision: 20 $
155c155
< ACPI_RESOURCE *OutputStruct = (ACPI_RESOURCE *) *OutputBuffer;
---
> ACPI_RESOURCE *OutputStruct = (void *) *OutputBuffer;
214c214
< OutputStruct->Length = StructSize;
---
> OutputStruct->Length = (UINT32) StructSize;
253c253
< ACPI_RESOURCE *OutputStruct = (ACPI_RESOURCE *) *OutputBuffer;
---
> ACPI_RESOURCE *OutputStruct = (void *) *OutputBuffer;
288c288
< OutputStruct->Length = StructSize;
---
> OutputStruct->Length = (UINT32) StructSize;
472c472
< ACPI_RESOURCE *OutputStruct = (ACPI_RESOURCE *) *OutputBuffer;
---
> ACPI_RESOURCE *OutputStruct = (void *) *OutputBuffer;
503a504,509
> if (i == 0)
> {
> /* Zero channels is invalid! */
>
> return_ACPI_STATUS (AE_BAD_DATA);
> }
510c516
< StructSize += (OutputStruct->Data.Dma.NumberOfChannels - 1) * 4;
---
> StructSize += ((ACPI_SIZE) OutputStruct->Data.Dma.NumberOfChannels - 1) * 4;
541c547
< OutputStruct->Length = StructSize;
---
> OutputStruct->Length = (UINT32) StructSize;
< * $Revision: 17 $
---
> * $Revision: 20 $
155c155
< ACPI_RESOURCE *OutputStruct = (ACPI_RESOURCE *) *OutputBuffer;
---
> ACPI_RESOURCE *OutputStruct = (void *) *OutputBuffer;
214c214
< OutputStruct->Length = StructSize;
---
> OutputStruct->Length = (UINT32) StructSize;
253c253
< ACPI_RESOURCE *OutputStruct = (ACPI_RESOURCE *) *OutputBuffer;
---
> ACPI_RESOURCE *OutputStruct = (void *) *OutputBuffer;
288c288
< OutputStruct->Length = StructSize;
---
> OutputStruct->Length = (UINT32) StructSize;
472c472
< ACPI_RESOURCE *OutputStruct = (ACPI_RESOURCE *) *OutputBuffer;
---
> ACPI_RESOURCE *OutputStruct = (void *) *OutputBuffer;
503a504,509
> if (i == 0)
> {
> /* Zero channels is invalid! */
>
> return_ACPI_STATUS (AE_BAD_DATA);
> }
510c516
< StructSize += (OutputStruct->Data.Dma.NumberOfChannels - 1) * 4;
---
> StructSize += ((ACPI_SIZE) OutputStruct->Data.Dma.NumberOfChannels - 1) * 4;
541c547
< OutputStruct->Length = StructSize;
---
> OutputStruct->Length = (UINT32) StructSize;