mirror of
https://github.com/acpica/acpica/
synced 2025-02-12 11:34:42 +03:00
Fix warnings on IA64
This commit is contained in:
parent
50c2ae4128
commit
ce93985026
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user