Commit 4f1b27ad authored by Shane Snyder's avatar Shane Snyder

bug fix in mmap region pointer assignment

parent 3b0c668b
......@@ -256,7 +256,7 @@ void darshan_core_initialize(int argc, char **argv)
init_core->log_hdr_p = (struct darshan_header *)
(init_core->mmap_p);
init_core->log_job_p = (struct darshan_job *)
(init_core->log_hdr_p + sizeof(struct darshan_header));
((char *)init_core->log_hdr_p + sizeof(struct darshan_header));
init_core->log_exemnt_p = (char *)
(((char *)init_core->log_job_p) + sizeof(struct darshan_job));
/* TODO: file hash & module memory */
......
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