Alexandre Julliard pushed to branch master at wine / wine Commits: 78f2d4de by Francis De Brabandere at 2026-05-15T21:43:28+02:00 vbscript/tests: Add tests for &H8000 literal type. - - - - - f7f58ba1 by Francis De Brabandere at 2026-05-15T21:43:28+02:00 vbscript: Parse &H8000 as Long(-32768) like native. Native cscript parses every 4-digit hex literal that fits 16 bits as Integer except &H8000: its value -32768 (INT16_MIN) has no positive Int16 representation, so native promotes it to Long. Wine returned Integer for that one case because interp_int narrows any value that fits VT_I2. Skip narrowing for INT16_MIN in interp_int. The only OP_int call site that emits this value is the hex/oct lexer; unary `-32768` is two ops (push 32768, then neg) so it isn't affected. - - - - - 2 changed files: - dlls/vbscript/interp.c - dlls/vbscript/tests/lang.vbs View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/04d22f66f498f794047c2c4a2cdd14... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/04d22f66f498f794047c2c4a2cdd14... You're receiving this email because of your account on gitlab.winehq.org. Manage all notifications: https://gitlab.winehq.org/-/profile/notifications | Help: https://gitlab.winehq.org/help