ACPICA: Fix several pointer casts to avoid possible compile warnings

Fixes warnings with gcc -Wcast-qual flag.

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>
此提交包含在:
Bob Moore
2009-06-02 13:20:00 +08:00
提交者 Len Brown
父節點 422bef879e
當前提交 5853a9f6dd
共有 2 個檔案被更改,包括 6 行新增5 行删除

查看文件

@@ -418,9 +418,9 @@ acpi_ex_dump_object(union acpi_operand_object *obj_desc,
case ACPI_EXD_REFERENCE:
acpi_ex_out_string("Class Name",
(char *)
acpi_ut_get_reference_name
(obj_desc));
ACPI_CAST_PTR(char,
acpi_ut_get_reference_name
(obj_desc)));
acpi_ex_dump_reference_obj(obj_desc);
break;