Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
e2aba8ba
Commit
e2aba8ba
authored
Jun 15, 2019
by
Edward Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wildmatch: explicitly cast to int
parent
3dd1942b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/wildmatch.c
+1
-1
No files found.
src/wildmatch.c
View file @
e2aba8ba
...
@@ -250,7 +250,7 @@ static int dowild(const uchar *p, const uchar *text, unsigned int flags)
...
@@ -250,7 +250,7 @@ static int dowild(const uchar *p, const uchar *text, unsigned int flags)
for
(
s
=
p
+=
2
;
(
p_ch
=
*
p
)
&&
p_ch
!=
']'
;
p
++
)
{}
/*SHARED ITERATOR*/
for
(
s
=
p
+=
2
;
(
p_ch
=
*
p
)
&&
p_ch
!=
']'
;
p
++
)
{}
/*SHARED ITERATOR*/
if
(
!
p_ch
)
if
(
!
p_ch
)
return
WM_ABORT_ALL
;
return
WM_ABORT_ALL
;
i
=
p
-
s
-
1
;
i
=
(
int
)(
p
-
s
-
1
)
;
if
(
i
<
0
||
p
[
-
1
]
!=
':'
)
{
if
(
i
<
0
||
p
[
-
1
]
!=
':'
)
{
/* Didn't find ":]", so treat like a normal set. */
/* Didn't find ":]", so treat like a normal set. */
p
=
s
-
2
;
p
=
s
-
2
;
...
...
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