Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f324ae7f
Commit
f324ae7f
authored
May 14, 2015
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Avoid UINT32_MAX.
parent
d93781f2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
string.c
dlls/jscript/string.c
+1
-3
No files found.
dlls/jscript/string.c
View file @
f324ae7f
...
...
@@ -26,8 +26,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
jscript
);
#define UINT32_MAX 0xffffffff
typedef
struct
{
jsdisp_t
dispex
;
jsstr_t
*
str
;
...
...
@@ -1136,7 +1134,7 @@ static HRESULT String_split(script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, unsi
match_state_t
match_result
,
*
match_ptr
=
&
match_result
;
DWORD
length
,
i
,
match_len
=
0
;
const
WCHAR
*
ptr
,
*
ptr2
,
*
str
,
*
match_str
=
NULL
;
unsigned
limit
=
UINT32_MAX
;
unsigned
limit
=
~
0u
;
jsdisp_t
*
array
,
*
regexp
=
NULL
;
jsstr_t
*
jsstr
,
*
match_jsstr
,
*
tmp_str
;
HRESULT
hres
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment