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
c9f14522
Commit
c9f14522
authored
Mar 03, 2007
by
Joris Huizer
Committed by
Alexandre Julliard
Mar 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winebuild: sign-compare fixes.
parent
2cdced81
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
8 deletions
+11
-8
import.c
tools/winebuild/import.c
+7
-5
spec32.c
tools/winebuild/spec32.c
+3
-2
utils.c
tools/winebuild/utils.c
+1
-1
No files found.
tools/winebuild/import.c
View file @
c9f14522
...
...
@@ -168,7 +168,7 @@ static void free_imports( struct import *imp )
/* check whether a given dll is imported in delayed mode */
static
int
is_delayed_import
(
const
char
*
name
)
{
int
i
;
unsigned
int
i
;
for
(
i
=
0
;
i
<
delayed_imports
.
count
;
i
++
)
{
...
...
@@ -468,7 +468,8 @@ static void check_undefined_exports( DLLSPEC *spec )
static
char
*
create_undef_symbols_file
(
DLLSPEC
*
spec
)
{
char
*
as_file
,
*
obj_file
;
unsigned
int
i
;
int
i
;
unsigned
int
j
;
FILE
*
f
;
as_file
=
get_temp_file_name
(
output_file_name
,
".s"
);
...
...
@@ -482,8 +483,8 @@ static char *create_undef_symbols_file( DLLSPEC *spec )
if
(
odp
->
flags
&
FLAG_FORWARD
)
continue
;
fprintf
(
f
,
"
\t
%s %s
\n
"
,
get_asm_ptr_keyword
(),
asm_name
(
odp
->
link_name
)
);
}
for
(
i
=
0
;
i
<
extra_ld_symbols
.
count
;
i
++
)
fprintf
(
f
,
"
\t
%s %s
\n
"
,
get_asm_ptr_keyword
(),
asm_name
(
extra_ld_symbols
.
names
[
i
])
);
for
(
j
=
0
;
j
<
extra_ld_symbols
.
count
;
j
++
)
fprintf
(
f
,
"
\t
%s %s
\n
"
,
get_asm_ptr_keyword
(),
asm_name
(
extra_ld_symbols
.
names
[
j
])
);
fclose
(
f
);
obj_file
=
get_temp_file_name
(
output_file_name
,
".o"
);
...
...
@@ -557,7 +558,8 @@ void read_undef_symbols( DLLSPEC *spec, char **argv )
/* resolve the imports for a Win32 module */
int
resolve_imports
(
DLLSPEC
*
spec
)
{
unsigned
int
i
,
j
,
removed
;
int
i
;
unsigned
int
j
,
removed
;
ORDDEF
*
odp
;
sort_names
(
&
ignore_symbols
);
...
...
tools/winebuild/spec32.c
View file @
c9f14522
...
...
@@ -51,7 +51,7 @@ static inline int needs_relay( const ORDDEF *odp )
/* check if dll will output relay thunks */
int
has_relays
(
DLLSPEC
*
spec
)
{
unsigned
int
i
;
int
i
;
if
(
target_cpu
!=
CPU_x86
)
return
0
;
...
...
@@ -70,7 +70,8 @@ int has_relays( DLLSPEC *spec )
*/
static
void
output_relay_debug
(
DLLSPEC
*
spec
)
{
unsigned
int
i
,
j
,
args
,
flags
;
int
i
;
unsigned
int
j
,
args
,
flags
;
/* first the table of entry point offsets */
...
...
tools/winebuild/utils.c
View file @
c9f14522
...
...
@@ -454,7 +454,7 @@ unsigned int get_alignment(unsigned int align)
case
CPU_POWERPC
:
case
CPU_ALPHA
:
n
=
0
;
while
((
1
<<
n
)
!=
align
)
n
++
;
while
((
1
u
<<
n
)
!=
align
)
n
++
;
return
n
;
}
/* unreached */
...
...
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