Fixed small compilation warning that could have lead to memory corruption

Same as merge request !579 (merged) on master

Merge request reports

Loading