patch-2.4.25 linux-2.4.25/drivers/acpi/resources/rscreate.c

Next file: linux-2.4.25/drivers/acpi/resources/rsdump.c
Previous file: linux-2.4.25/drivers/acpi/resources/rscalc.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/drivers/acpi/resources/rscreate.c linux-2.4.25/drivers/acpi/resources/rscreate.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
@@ -331,7 +331,7 @@
 
 		/* Now align the current length */
 
-		user_prt->length = ACPI_ROUND_UP_to_64_bITS (user_prt->length);
+		user_prt->length = (u32) ACPI_ROUND_UP_to_64_bITS (user_prt->length);
 
 		/*
 		 * 4) Fourth subobject: Dereference the PRT.source_index

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)