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
544ea174
Commit
544ea174
authored
Feb 01, 2017
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 02, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Use unsigned int in spec file variable parameters.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e31dd0f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
build.h
tools/winebuild/build.h
+1
-1
parser.c
tools/winebuild/parser.c
+2
-2
No files found.
tools/winebuild/build.h
View file @
544ea174
...
...
@@ -80,7 +80,7 @@ enum arg_type
typedef
struct
{
int
n_values
;
int
*
values
;
unsigned
int
*
values
;
}
ORD_VARIABLE
;
typedef
struct
...
...
tools/winebuild/parser.c
View file @
544ea174
...
...
@@ -182,7 +182,7 @@ static ORDDEF *add_entry_point( DLLSPEC *spec )
static
int
parse_spec_variable
(
ORDDEF
*
odp
,
DLLSPEC
*
spec
)
{
char
*
endptr
;
int
*
value_array
;
unsigned
int
*
value_array
;
int
n_values
;
int
value_array_size
;
const
char
*
token
;
...
...
@@ -214,7 +214,7 @@ static int parse_spec_variable( ORDDEF *odp, DLLSPEC *spec )
if
(
*
token
==
')'
)
break
;
value_array
[
n_values
++
]
=
strtol
(
token
,
&
endptr
,
0
);
value_array
[
n_values
++
]
=
strto
u
l
(
token
,
&
endptr
,
0
);
if
(
n_values
==
value_array_size
)
{
value_array_size
+=
25
;
...
...
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