Fix for issue #108: Warning: 32 is no a valid flag number

As per subject.