summaryrefslogtreecommitdiff
path: root/source/components/debugger/dbdisply.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/debugger/dbdisply.c')
-rw-r--r--source/components/debugger/dbdisply.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/components/debugger/dbdisply.c b/source/components/debugger/dbdisply.c
index 75a29b526717b..073874109878a 100644
--- a/source/components/debugger/dbdisply.c
+++ b/source/components/debugger/dbdisply.c
@@ -5,7 +5,7 @@
******************************************************************************/
/*
- * Copyright (C) 2000 - 2015, Intel Corp.
+ * Copyright (C) 2000 - 2016, Intel Corp.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -669,13 +669,15 @@ void
AcpiDbDisplayObjectType (
char *ObjectArg)
{
+ ACPI_SIZE Arg;
ACPI_HANDLE Handle;
ACPI_DEVICE_INFO *Info;
ACPI_STATUS Status;
UINT32 i;
- Handle = ACPI_TO_POINTER (strtoul (ObjectArg, NULL, 16));
+ Arg = strtoul (ObjectArg, NULL, 16);
+ Handle = ACPI_TO_POINTER (Arg);
Status = AcpiGetObjectInfo (Handle, &Info);
if (ACPI_FAILURE (Status))