ACPICA: Cosmetic changes only, no functional changes
[linux-2.6-block.git] / drivers / acpi / dispatcher / dsobject.c
index 7556d919bf8bbf08613c8ff08bfa79fb9fec594e..58d4d91c8e97d5dba3fc2266a54ce6f10529fb7b 100644 (file)
@@ -157,7 +157,9 @@ acpi_ds_build_internal_object(struct acpi_walk_state *walk_state,
                         * will remain as named references. This behavior is not described
                         * in the ACPI spec, but it appears to be an oversight.
                         */
-                       obj_desc = (union acpi_operand_object *)op->common.node;
+                       obj_desc =
+                           ACPI_CAST_PTR(union acpi_operand_object,
+                                         op->common.node);
 
                        status =
                            acpi_ex_resolve_node_to_value(ACPI_CAST_INDIRECT_PTR