Fix warnings on IA64

This commit is contained in:
rmoore1 2006-04-25 17:46:08 +00:00
parent 50c2ae4128
commit ce93985026
3 changed files with 9 additions and 8 deletions

View File

@ -1,7 +1,7 @@
/*******************************************************************************
*
* Module Name: rscalc - Calculate stream and list lengths
* $Revision: 1.78 $
* $Revision: 1.79 $
*
******************************************************************************/
@ -557,7 +557,7 @@ AcpiRsGetListLength (
*/
BufferSize = AcpiGbl_ResourceStructSizes[ResourceIndex] +
ExtraStructBytes;
BufferSize = ACPI_ROUND_UP_TO_NATIVE_WORD (BufferSize);
BufferSize = (UINT32) ACPI_ROUND_UP_TO_NATIVE_WORD (BufferSize);
*SizeNeeded += BufferSize;

View File

@ -1,7 +1,7 @@
/*******************************************************************************
*
* Module Name: rsutils - Utilities for the resource manager
* $Revision: 1.61 $
* $Revision: 1.62 $
*
******************************************************************************/
@ -474,7 +474,8 @@ AcpiRsGetResourceSource (
*
* Zero the entire area of the buffer.
*/
TotalLength = ACPI_STRLEN (ACPI_CAST_PTR (char, &AmlResourceSource[1])) + 1;
TotalLength = (UINT32) ACPI_STRLEN (
ACPI_CAST_PTR (char, &AmlResourceSource[1])) + 1;
TotalLength = (UINT32) ACPI_ROUND_UP_TO_NATIVE_WORD (TotalLength);
ACPI_MEMSET (ResourceSource->StringPtr, 0, TotalLength);

View File

@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: tbxfroot - Find the root ACPI table (RSDT)
* $Revision: 1.101 $
* $Revision: 1.102 $
*
*****************************************************************************/
@ -689,7 +689,7 @@ AcpiTbFindRsdp (
{
/* Return the physical address */
PhysicalAddress += ACPI_PTR_DIFF (MemRover, TablePtr);
PhysicalAddress += (UINT32) ACPI_PTR_DIFF (MemRover, TablePtr);
TableInfo->PhysicalAddress =
(ACPI_PHYSICAL_ADDRESS) PhysicalAddress;
@ -720,8 +720,8 @@ AcpiTbFindRsdp (
{
/* Return the physical address */
PhysicalAddress =
ACPI_HI_RSDP_WINDOW_BASE + ACPI_PTR_DIFF (MemRover, TablePtr);
PhysicalAddress = (UINT32)
(ACPI_HI_RSDP_WINDOW_BASE + ACPI_PTR_DIFF (MemRover, TablePtr));
TableInfo->PhysicalAddress =
(ACPI_PHYSICAL_ADDRESS) PhysicalAddress;