Commit e28cfbca authored by Philip Carns's avatar Philip Carns

fix 32bit overflow bug on some systems for MAX_BYTE tracking

fixes #50


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@483 3b7491f3-a168-0410-bf4b-c445ed680a29
parent c5c572e5
......@@ -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; \
......
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