Skip to content
Snippets Groups Projects
Commit 27b251bb authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Merge branch 'logger_fix_debug' into 'master'

Logger: small fix

See merge request !998
parents d9167a95 9bd22989
Branches
Tags
1 merge request!998Logger: small fix
......@@ -150,7 +150,7 @@ size_t tools_reverse_offset(const struct header *h, void *file_map,
#ifdef SWIFT_DEBUG_CHECKS
size_t prev_mask = 0;
map = (char *)map - LOGGER_MASK_SIZE + LOGGER_OFFSET_SIZE;
map = (char *)map - LOGGER_MASK_SIZE - LOGGER_OFFSET_SIZE;
logger_loader_io_read_mask(h, map, &prev_mask, NULL);
/* Check if we are not mixing timestamp and particles */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment