Index: /mpich2/trunk/src/mpi/romio/adio/ad_lustre/ad_lustre_wrcoll.c
===================================================================
--- /mpich2/trunk/src/mpi/romio/adio/ad_lustre/ad_lustre_wrcoll.c (revision 4458)
+++ /mpich2/trunk/src/mpi/romio/adio/ad_lustre/ad_lustre_wrcoll.c (revision 4889)
@@ -19,5 +19,5 @@
 					ADIOI_Access *my_req,
 					ADIO_Offset *offset_list,
-					int *len_list,
+					ADIO_Offset *len_list,
 					int contig_access_count,
 					int *striping_info,
@@ -27,5 +27,5 @@
 					  char **send_buf,
 					  ADIO_Offset *offset_list,
-					  int *len_list, int *send_size,
+					  ADIO_Offset *len_list, int *send_size,
 					  MPI_Request *requests,
 					  int *sent_to_proc, int nprocs,
@@ -40,5 +40,5 @@
 					 ADIOI_Flatlist_node *flat_buf,
 					 ADIO_Offset *offset_list,
-					 int *len_list, int *send_size,
+					 ADIO_Offset *len_list, int *send_size,
 					 int *recv_size, ADIO_Offset off,
 					 int size, int *count,
@@ -83,5 +83,6 @@
     ADIO_Offset orig_fp, start_offset, end_offset, off;
     ADIO_Offset *offset_list = NULL, *st_offsets = NULL, *end_offsets = NULL;
-    int *buf_idx = NULL, *len_list = NULL, *striping_info = NULL;
+    ADIO_Offset *len_list = NULL;
+    int *buf_idx = NULL, *striping_info = NULL;
     int old_error, tmp_error;
 
@@ -284,5 +285,6 @@
                                         ADIOI_Access *my_req,
 					ADIO_Offset *offset_list,
-                                        int *len_list, int contig_access_count,
+                                        ADIO_Offset *len_list, 
+					int contig_access_count,
 					int *striping_info, int *buf_idx,
                                         int *error_code)
@@ -573,5 +575,5 @@
 					 ADIOI_Flatlist_node *flat_buf,
 					 ADIO_Offset *offset_list,
-					 int *len_list, int *send_size,
+					 ADIO_Offset *len_list, int *send_size,
 					 int *recv_size, ADIO_Offset off,
 					 int size, int *count,
@@ -839,5 +841,5 @@
 					  char **send_buf,
 					  ADIO_Offset *offset_list,
-					  int *len_list, int *send_size,
+					  ADIO_Offset *len_list, int *send_size,
 					  MPI_Request *requests,
 					  int *sent_to_proc, int nprocs,
Index: /mpich2/trunk/src/mpi/romio/adio/ad_lustre/ad_lustre_aggregate.c
===================================================================
--- /mpich2/trunk/src/mpi/romio/adio/ad_lustre/ad_lustre_aggregate.c (revision 4458)
+++ /mpich2/trunk/src/mpi/romio/adio/ad_lustre/ad_lustre_aggregate.c (revision 4889)
@@ -121,5 +121,5 @@
  */
 void ADIOI_LUSTRE_Calc_my_req(ADIO_File fd, ADIO_Offset *offset_list,
-			      int *len_list, int contig_access_count,
+			      ADIO_Offset *len_list, int contig_access_count,
 			      int *striping_info, int nprocs,
                               int *count_my_req_procs_ptr,
@@ -274,5 +274,5 @@
 
 int ADIOI_LUSTRE_Docollect(ADIO_File fd, int contig_access_count,
-			   int *len_list, int nprocs)
+			   ADIO_Offset *len_list, int nprocs)
 {
     /* If the processes are non-interleaved, we will check the req_size.
