https://bugs.winehq.org/show_bug.cgi?id=41141
--- Comment #3 from Sergey Isakov isakov-sl@bk.ru --- The mistake is accounting this expression s int. It must be (unsigned int). Moreover it is not arithmetic value, it is enumerator and 32bit is quite enouth, sign can be ignored.