Changed data types

date	2000.05.31.21.27.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 16:16:05 +00:00
parent d36bf2db1b
commit 56a43749e7

View File

@ -707,12 +707,12 @@ DbDisplayObjects (
char *DisplayCountArg)
{
UINT32 DisplayCount;
UINT32 Type;
ACPI_OBJECT_TYPE Type;
STRUPR (ObjTypeArg);
Type = DbMatchArgument (ObjTypeArg, DbObjectTypes);
if (Type == (UINT32) -1)
if (Type == ACPI_TYPE_NotFound)
{
OsdPrintf ("Invalid or unsupported argument\n");
return AE_OK;
@ -735,7 +735,7 @@ DbDisplayObjects (
DbSetOutputDestination (DB_REDIRECTABLE_OUTPUT);
AcpiWalkNamespace (Type, ACPI_ROOT_OBJECT, ACPI_UINT32_MAX,
DbWalkForSpecificObjects, (void *) Type, NULL);
DbWalkForSpecificObjects, (void *) &Type, NULL);
DbSetOutputDestination (DB_CONSOLE_OUTPUT);
return AE_OK;