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
Maxim Onciul
pi_files
Commits
7d8c9387
Commit
7d8c9387
authored
Aug 25, 2021
by
Maxim Onciul
Browse files
argh!
parent
9241cc7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
polar_rs/src/coding.cpp
View file @
7d8c9387
...
...
@@ -353,7 +353,7 @@ Coding::foldToBytes(vector<uint8_t>* input, unsigned int output_length)
}
if
(
input
->
size
()
%
4
!=
0
)
{
input
->
resize
(
input
->
size
()
-
input
->
size
()
%
4
-
1
);
input
->
resize
(
input
->
size
()
-
input
->
size
()
%
4
);
}
gf
*
output
=
(
gf
*
)
malloc
(
output_length
*
sizeof
(
gf
));
...
...
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