Commit 7d8c9387 authored by Maxim Onciul's avatar Maxim Onciul
Browse files

argh!

parent 9241cc7a
......@@ -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));
......
Supports Markdown
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