* strlen() returns a size_t, so use ACPI_SIZE instead of UINT32 for PrefixPathLength

This commit is contained in:
Sven Barth 2020-02-10 14:45:37 +01:00
parent d216e4c8d8
commit 0f64c317e7

View File

@ -542,7 +542,7 @@ AcpiNsBuildPrefixedPathname (
char *FullPath = NULL;
char *ExternalPath = NULL;
char *PrefixPath = NULL;
UINT32 PrefixPathLength = 0;
ACPI_SIZE PrefixPathLength = 0;
/* If there is a prefix, get the pathname to it */