Skip to content
GitLab
Menu
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
22795d22
Commit
22795d22
authored
Dec 13, 2017
by
lhausamm
Committed by
Matthieu Schaller
Dec 15, 2017
Browse files
Fix test with gcc7
parent
c90ffa87
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/testDump.c
View file @
22795d22
...
...
@@ -40,7 +40,7 @@ void dump_mapper(void *map_data, int num_elements, void *extra_data) {
size_t
offset
;
char
*
out_string
=
dump_get
(
d
,
7
,
&
offset
);
char
out_buff
[
8
];
snprintf
(
out_buff
,
8
,
"%06zi
\n
"
,
offset
/
7
);
snprintf
(
out_buff
,
8
,
"%06zi
\n
"
,
(
offset
/
7
)
%
1000000
)
;
memcpy
(
out_string
,
out_buff
,
7
);
}
...
...
tests/testInteractions.c
View file @
22795d22
...
...
@@ -673,6 +673,7 @@ int main(int argc, char *argv[]) {
break
;
case
's'
:
sscanf
(
optarg
,
"%lf"
,
&
spacing
);
break
;
case
'n'
:
sscanf
(
optarg
,
"%zu"
,
&
count
);
break
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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