mirror of
https://github.com/acpica/acpica/
synced 2025-03-04 13:21:32 +03:00
fixed a warning
date 2000.04.26.21.28.00; author rmoore1; state Exp;
This commit is contained in:
parent
c9f93723bf
commit
835acf1c98
@ -163,7 +163,7 @@ DsInitOneObject (
|
||||
|
||||
/* We are only interested in objects owned by the table that was just loaded */
|
||||
|
||||
if (((NAME_TABLE_ENTRY *) ObjHandle)->TableId != Info->TableDesc->TableId)
|
||||
if (((NAME_TABLE_ENTRY *) ObjHandle)->OwnerId != Info->TableDesc->TableId)
|
||||
{
|
||||
return AE_OK;
|
||||
}
|
||||
@ -565,8 +565,7 @@ DsBuildInternalPackageObj (
|
||||
* Add an extra pointer slot so that the list is always null terminated.
|
||||
*/
|
||||
|
||||
ObjDesc->Package.Elements = CmCallocate ((ACPI_SIZE) (ObjDesc->Package.Count + 1) *
|
||||
sizeof (void *));
|
||||
ObjDesc->Package.Elements = CmCallocate ((ObjDesc->Package.Count + 1) * sizeof (void *));
|
||||
if (!ObjDesc->Package.Elements)
|
||||
{
|
||||
/* Package vector allocation failure */
|
||||
|
Loading…
x
Reference in New Issue
Block a user