jscript: Fix definition of JSSTR_MAX_LENGTH.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7369836323
commit
d36ae568c1
|
@ -39,7 +39,7 @@ struct _jsstr_t {
|
|||
};
|
||||
|
||||
#define JSSTR_LENGTH_SHIFT 4
|
||||
#define JSSTR_MAX_LENGTH (1 << (32-JSSTR_LENGTH_SHIFT))
|
||||
#define JSSTR_MAX_LENGTH ((1 << (32-JSSTR_LENGTH_SHIFT))-1)
|
||||
#define JSSTR_FLAGS_MASK ((1 << JSSTR_LENGTH_SHIFT)-1)
|
||||
|
||||
#define JSSTR_FLAG_LBIT 1
|
||||
|
|
Loading…
Reference in New Issue