Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Shane Snyder
darshan
Commits
ebb9ba17
Commit
ebb9ba17
authored
Jun 24, 2016
by
Philip Carns
Browse files
fix another sizeof bug
parent
8bb4890f
Changes
1
Hide whitespace changes
Inline
Side-by-side
darshan-runtime/lib/darshan-stdio.c
View file @
ebb9ba17
...
...
@@ -229,7 +229,7 @@ static void stdio_cleanup_runtime();
#define STDIO_RECORD_WRITE(__fp, __bytes, __tm1, __tm2, __fflush_flag) do{ \
struct stdio_file_record_ref* rec_ref; \
int64_t this_offset; \
rec_ref = darshan_lookup_record_ref(stdio_runtime->stream_hash, &(__fp), sizeof(
int
)); \
rec_ref = darshan_lookup_record_ref(stdio_runtime->stream_hash, &(__fp), sizeof(
__fp
)); \
if(!rec_ref) break; \
this_offset = rec_ref->offset; \
rec_ref->offset = this_offset + __bytes; \
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment