https://bugs.winehq.org/show_bug.cgi?id=50059
--- Comment #5 from eserradi@gmx.com --- ok very good, in any case, the proposed patch or your solution might work for both mingw and gcc, IMO it is not a good idea to leave it as it is as the error is clear unless that is intended but then it should be cast explicitly to 'unsigned int'