diff --git a/darshan-runtime/lib/darshan-posix.c b/darshan-runtime/lib/darshan-posix.c index 78cf1cc84343756a449e6969594e7c00888662ba..c1e531984574a186a92d159e22631086390b12fe 100644 --- a/darshan-runtime/lib/darshan-posix.c +++ b/darshan-runtime/lib/darshan-posix.c @@ -127,7 +127,7 @@ static void cp_access_counter(struct darshan_file_runtime* file, ssize_t size, #define CP_RECORD_WRITE(__ret, __fd, __count, __update_offset, __aligned, __stream_flag, __tm1, __tm2) do{ \ size_t stride; \ - off_t old_offset; \ + int64_t old_offset; \ int64_t file_alignment; \ struct darshan_file_runtime* file; \ double __elapsed = __tm2-__tm1; \ @@ -175,7 +175,7 @@ static void cp_access_counter(struct darshan_file_runtime* file, ssize_t size, #define CP_RECORD_READ(__ret, __fd, __count, __update_offset, __aligned, __stream_flag, __tm1, __tm2) do{ \ size_t stride; \ - off_t old_offset; \ + int64_t old_offset; \ struct darshan_file_runtime* file; \ int64_t file_alignment; \ double __elapsed = __tm2-__tm1; \