Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
523d94ae
Commit
523d94ae
authored
Mar 18, 2005
by
Jon Griffiths
Committed by
Alexandre Julliard
Mar 18, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-Wunsigned fixes.
parent
b98d045e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
build.h
tools/winebuild/build.h
+1
-1
res16.c
tools/winebuild/res16.c
+5
-4
res32.c
tools/winebuild/res32.c
+4
-4
No files found.
tools/winebuild/build.h
View file @
523d94ae
...
...
@@ -98,7 +98,7 @@ typedef struct
int
nb_entry_points
;
/* number of used entry points */
int
alloc_entry_points
;
/* number of allocated entry points */
int
nb_names
;
/* number of entry points with names */
int
nb_resources
;
/* number of resources */
unsigned
int
nb_resources
;
/* number of resources */
int
characteristics
;
/* characteristics for the PE header */
int
subsystem
;
/* subsystem id */
int
subsystem_major
;
/* subsystem version major number */
...
...
tools/winebuild/res16.c
View file @
523d94ae
...
...
@@ -217,7 +217,7 @@ static int cmp_res( const void *ptr1, const void *ptr2 )
/* build the 2-level (type,name) resource tree */
static
struct
res_tree
*
build_resource_tree
(
DLLSPEC
*
spec
)
{
int
i
;
unsigned
int
i
;
struct
res_tree
*
tree
;
struct
res_type
*
type
=
NULL
;
...
...
@@ -272,7 +272,8 @@ int output_res16_data( FILE *outfile, DLLSPEC *spec )
{
const
struct
resource
*
res
;
unsigned
char
*
buffer
,
*
p
;
int
i
,
total
;
unsigned
int
i
;
int
total
;
if
(
!
spec
->
nb_resources
)
return
0
;
...
...
@@ -294,8 +295,8 @@ int output_res16_data( FILE *outfile, DLLSPEC *spec )
/* output the resource definitions */
int
output_res16_directory
(
unsigned
char
*
buffer
,
DLLSPEC
*
spec
)
{
int
i
,
offset
,
res_offset
=
0
;
unsigned
int
j
;
int
offset
,
res_offset
=
0
;
unsigned
int
i
,
j
;
struct
res_tree
*
tree
;
const
struct
res_type
*
type
;
const
struct
resource
*
res
;
...
...
tools/winebuild/res32.c
View file @
523d94ae
...
...
@@ -269,7 +269,7 @@ static int cmp_res( const void *ptr1, const void *ptr2 )
/* build the 3-level (type,name,language) resource tree */
static
struct
res_tree
*
build_resource_tree
(
DLLSPEC
*
spec
)
{
int
i
;
unsigned
int
i
;
struct
res_tree
*
tree
;
struct
res_type
*
type
=
NULL
;
struct
res_name
*
name
=
NULL
;
...
...
@@ -299,7 +299,7 @@ static struct res_tree *build_resource_tree( DLLSPEC *spec )
/* free the resource tree */
static
void
free_resource_tree
(
struct
res_tree
*
tree
)
{
int
i
;
unsigned
int
i
;
for
(
i
=
0
;
i
<
tree
->
nb_types
;
i
++
)
free
(
tree
->
types
[
i
].
names
);
free
(
tree
->
types
);
...
...
@@ -320,8 +320,8 @@ static void output_string( FILE *outfile, const WCHAR *name )
/* output the resource definitions */
void
output_resources
(
FILE
*
outfile
,
DLLSPEC
*
spec
)
{
int
i
,
j
,
k
,
nb_id_types
;
unsigned
int
n
,
offset
,
data_offset
;
int
j
,
k
,
nb_id_types
;
unsigned
int
i
,
n
,
offset
,
data_offset
;
struct
res_tree
*
tree
;
struct
res_type
*
type
;
struct
res_name
*
name
;
...
...
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