Commit c10e0841 authored by Rob Latham's avatar Rob Latham
Browse files

use 'long' for blocksize

there's no pre-defined MPI datatype for blksize_t, and we are still sort
of trying to avoid int64_t and related explicitly sized types for
maximum portability.  'long' should be big enough to hold a blocksize:
it's an int on many, a long int on some.

Closes #2123 (type mismatch in ad_opencoll.c)
parent 4f327526
......@@ -196,7 +196,7 @@ typedef struct ADIOI_FileD {
unsigned d_mem; /* data buffer memory alignment */
unsigned d_miniosz; /* min xfer size, xfer size multiple,
and file seek offset alignment */
blksize_t blksize; /* some optimizations benefit from knowing
long blksize; /* some optimizations benefit from knowing
underlying block size */
ADIO_Offset fp_ind; /* individual file pointer in MPI-IO (in bytes)*/
ADIO_Offset fp_sys_posn; /* current location of the system file-pointer
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment