Fixed small compilation warning that could have lead to memory corruption

Backport of !574 (merged) to the master branch

Merge request reports

Loading