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
80294709
Commit
80294709
authored
Oct 11, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 12, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: Cast-qual warning fix.
parent
eda8b955
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
import.c
tools/winebuild/import.c
+2
-1
No files found.
tools/winebuild/import.c
View file @
80294709
...
@@ -147,10 +147,11 @@ inline static ORDDEF *find_export( const char *name, ORDDEF **table, int size )
...
@@ -147,10 +147,11 @@ inline static ORDDEF *find_export( const char *name, ORDDEF **table, int size )
{
{
ORDDEF
func
,
*
odp
,
**
res
=
NULL
;
ORDDEF
func
,
*
odp
,
**
res
=
NULL
;
func
.
name
=
(
char
*
)
name
;
func
.
name
=
xstrdup
(
name
)
;
func
.
ordinal
=
-
1
;
func
.
ordinal
=
-
1
;
odp
=
&
func
;
odp
=
&
func
;
if
(
table
)
res
=
bsearch
(
&
odp
,
table
,
size
,
sizeof
(
*
table
),
func_cmp
);
if
(
table
)
res
=
bsearch
(
&
odp
,
table
,
size
,
sizeof
(
*
table
),
func_cmp
);
free
(
func
.
name
);
return
res
?
*
res
:
NULL
;
return
res
?
*
res
:
NULL
;
}
}
...
...
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