Solution: replace by static_cast, and introduce appropriate constants
Attach a file by drag & drop or click to upload