patch-2.4.25 linux-2.4.25/drivers/acpi/resources/rslist.c
Next file: linux-2.4.25/drivers/acpi/resources/rsmemory.c
Previous file: linux-2.4.25/drivers/acpi/resources/rsirq.c
Back to the patch index
Back to the overall index
-  Lines: 20
-  Date:
2004-02-18 05:36:31.000000000 -0800
-  Orig file: 
linux-2.4.24/drivers/acpi/resources/rslist.c
-  Orig date: 
2003-08-25 04:44:41.000000000 -0700
diff -urN linux-2.4.24/drivers/acpi/resources/rslist.c linux-2.4.25/drivers/acpi/resources/rslist.c
@@ -5,7 +5,7 @@
  ******************************************************************************/
 
 /*
- * Copyright (C) 2000 - 2003, R. Byron Moore
+ * Copyright (C) 2000 - 2004, R. Byron Moore
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -312,8 +312,8 @@
 		 * Set the Buffer to the next structure
 		 */
 		resource = ACPI_CAST_PTR (struct acpi_resource, buffer);
-		resource->length = ACPI_ALIGN_RESOURCE_SIZE(resource->length);
-		buffer += ACPI_ALIGN_RESOURCE_SIZE(structure_size);
+		resource->length = (u32) ACPI_ALIGN_RESOURCE_SIZE (resource->length);
+		buffer += ACPI_ALIGN_RESOURCE_SIZE (structure_size);
 
 	} /*  end while */
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)