diff options
Diffstat (limited to 'drivers/acpi/utilities/utcopy.c')
-rw-r--r-- | drivers/acpi/utilities/utcopy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/utilities/utcopy.c b/drivers/acpi/utilities/utcopy.c index 879eaa10d3ae..b56953d2b59e 100644 --- a/drivers/acpi/utilities/utcopy.c +++ b/drivers/acpi/utilities/utcopy.c | |||
@@ -570,7 +570,7 @@ acpi_ut_copy_epackage_to_ipackage(union acpi_object *external_object, | |||
570 | 570 | ||
571 | /* Truncate package and delete it */ | 571 | /* Truncate package and delete it */ |
572 | 572 | ||
573 | package_object->package.count = i; | 573 | package_object->package.count = (u32) i; |
574 | package_elements[i] = NULL; | 574 | package_elements[i] = NULL; |
575 | acpi_ut_remove_reference(package_object); | 575 | acpi_ut_remove_reference(package_object); |
576 | return_ACPI_STATUS(status); | 576 | return_ACPI_STATUS(status); |