summaryrefslogtreecommitdiff
path: root/source/components/namespace/nsxfname.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/namespace/nsxfname.c')
-rw-r--r--source/components/namespace/nsxfname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/components/namespace/nsxfname.c b/source/components/namespace/nsxfname.c
index 5b3d5a9bed6f..53a2f4bfa279 100644
--- a/source/components/namespace/nsxfname.c
+++ b/source/components/namespace/nsxfname.c
@@ -714,7 +714,7 @@ AcpiInstallMethod (
MethodFlags = *ParserState.Aml++;
AmlStart = ParserState.Aml;
- AmlLength = ACPI_PTR_DIFF (ParserState.PkgEnd, AmlStart);
+ AmlLength = (UINT32) ACPI_PTR_DIFF (ParserState.PkgEnd, AmlStart);
/*
* Allocate resources up-front. We don't want to have to delete a new