Miscompilation on MingW32

Hello, Julien

Any idea why this is happening ?

I think I fixed this. Please verify.

Yep, works for me now. Thank you Anton !