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
4d0d9fcb
Commit
4d0d9fcb
authored
May 23, 2007
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
May 23, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Fix compilation warnings in 64-bit mode.
parent
737b9e5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
typegen.c
tools/widl/typegen.c
+6
-6
No files found.
tools/widl/typegen.c
View file @
4d0d9fcb
...
@@ -62,7 +62,7 @@ struct expr_eval_routine
...
@@ -62,7 +62,7 @@ struct expr_eval_routine
static
size_t
type_memsize
(
const
type_t
*
t
,
const
array_dims_t
*
array
,
unsigned
int
*
align
);
static
size_t
type_memsize
(
const
type_t
*
t
,
const
array_dims_t
*
array
,
unsigned
int
*
align
);
static
size_t
fields_memsize
(
const
var_list_t
*
fields
,
unsigned
int
*
align
);
static
size_t
fields_memsize
(
const
var_list_t
*
fields
,
unsigned
int
*
align
);
static
size_t
write_struct_tfs
(
FILE
*
file
,
type_t
*
type
,
const
char
*
name
,
unsigned
int
*
tfsoff
);
static
size_t
write_struct_tfs
(
FILE
*
file
,
type_t
*
type
,
const
char
*
name
,
unsigned
int
*
tfsoff
);
static
void
write_embedded_types
(
FILE
*
file
,
const
type_t
*
type
,
size_
t
*
tfsoff
);
static
void
write_embedded_types
(
FILE
*
file
,
const
type_t
*
type
,
unsigned
in
t
*
tfsoff
);
const
char
*
string_of_type
(
unsigned
char
type
)
const
char
*
string_of_type
(
unsigned
char
type
)
{
{
...
@@ -1480,7 +1480,7 @@ static size_t write_pointer_only_tfs(FILE *file, const attr_list_t *attrs, int p
...
@@ -1480,7 +1480,7 @@ static size_t write_pointer_only_tfs(FILE *file, const attr_list_t *attrs, int p
return
start_offset
;
return
start_offset
;
}
}
static
void
write_branch_type
(
FILE
*
file
,
const
type_t
*
t
,
size_
t
*
tfsoff
)
static
void
write_branch_type
(
FILE
*
file
,
const
type_t
*
t
,
unsigned
in
t
*
tfsoff
)
{
{
if
(
is_base_type
(
t
->
type
))
if
(
is_base_type
(
t
->
type
))
{
{
...
@@ -1499,10 +1499,10 @@ static void write_branch_type(FILE *file, const type_t *t, size_t *tfsoff)
...
@@ -1499,10 +1499,10 @@ static void write_branch_type(FILE *file, const type_t *t, size_t *tfsoff)
*
tfsoff
+=
2
;
*
tfsoff
+=
2
;
}
}
static
size_t
write_union_tfs
(
FILE
*
file
,
type_t
*
type
,
size_
t
*
tfsoff
)
static
size_t
write_union_tfs
(
FILE
*
file
,
type_t
*
type
,
unsigned
in
t
*
tfsoff
)
{
{
size_
t
align
=
0
;
unsigned
in
t
align
=
0
;
size_
t
start_offset
;
unsigned
in
t
start_offset
;
size_t
size
=
type_memsize
(
type
,
NULL
,
&
align
);
size_t
size
=
type_memsize
(
type
,
NULL
,
&
align
);
var_list_t
*
fields
=
type
->
fields
;
var_list_t
*
fields
=
type
->
fields
;
size_t
nbranch
=
0
;
size_t
nbranch
=
0
;
...
@@ -1743,7 +1743,7 @@ static void clear_tfsoff(type_t *type)
...
@@ -1743,7 +1743,7 @@ static void clear_tfsoff(type_t *type)
}
}
}
}
static
void
write_embedded_types
(
FILE
*
file
,
const
type_t
*
type
,
size_
t
*
tfsoff
)
static
void
write_embedded_types
(
FILE
*
file
,
const
type_t
*
type
,
unsigned
in
t
*
tfsoff
)
{
{
var_list_t
*
fields
=
type
->
fields
;
var_list_t
*
fields
=
type
->
fields
;
size_t
offset
=
0
;
size_t
offset
=
0
;
...
...
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