]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
ACPICA: Fix lint warning for 64-bit constant
authorBob Moore <robert.moore@intel.com>
Tue, 6 Jul 2010 02:35:55 +0000 (10:35 +0800)
committerLen Brown <len.brown@intel.com>
Wed, 7 Jul 2010 02:34:27 +0000 (22:34 -0400)
cast to u64.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/acpica/nsrepair.c

index d4be37751be43222a70e9ac8a99da60bad591373..d1c136692667b8d22ffb791be03b6a8d7274f184 100644 (file)
@@ -556,7 +556,7 @@ acpi_ns_repair_null_element(struct acpi_predefined_data *data,
 
                /* Need an Integer - create a zero-value integer */
 
-               new_object = acpi_ut_create_integer_object(0);
+               new_object = acpi_ut_create_integer_object((u64)0);
        } else if (expected_btypes & ACPI_RTYPE_STRING) {
 
                /* Need a String - create a NULL string */