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
SWIFT
SWIFTsim
Commits
9bd22989
Commit
9bd22989
authored
Jan 12, 2020
by
Loic Hausammann
Browse files
Logger: fix debug checks
parent
dee5c258
Changes
1
Hide whitespace changes
Inline
Side-by-side
logger/logger_tools.c
View file @
9bd22989
...
...
@@ -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 */
...
...
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