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
ccac7d1f
Commit
ccac7d1f
authored
May 21, 2007
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
May 21, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Fix compilation warnings in 64-bit mode.
parent
7e989655
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
proxy.c
tools/widl/proxy.c
+1
-1
typegen.c
tools/widl/typegen.c
+6
-6
No files found.
tools/widl/proxy.c
View file @
ccac7d1f
...
...
@@ -193,7 +193,7 @@ static void proxy_check_pointers( const var_list_t *args )
static
void
free_variable
(
const
var_t
*
arg
)
{
size_
t
type_offset
=
arg
->
type
->
typestring_offset
;
unsigned
in
t
type_offset
=
arg
->
type
->
typestring_offset
;
var_t
*
constraint
;
type_t
*
type
;
expr_list_t
*
expr
;
...
...
tools/widl/typegen.c
View file @
ccac7d1f
...
...
@@ -759,7 +759,7 @@ static size_t type_memsize(const type_t *t, const array_dims_t *array, unsigned
return
size
;
}
static
size_
t
write_nonsimple_pointer
(
FILE
*
file
,
const
type_t
*
type
,
size_t
offset
)
static
unsigned
in
t
write_nonsimple_pointer
(
FILE
*
file
,
const
type_t
*
type
,
size_t
offset
)
{
short
absoff
=
type
->
ref
->
typestring_offset
;
short
reloff
=
absoff
-
(
offset
+
2
);
...
...
@@ -772,7 +772,7 @@ static size_t write_nonsimple_pointer(FILE *file, const type_t *type, size_t off
return
4
;
}
static
size_
t
write_simple_pointer
(
FILE
*
file
,
const
type_t
*
type
)
static
unsigned
in
t
write_simple_pointer
(
FILE
*
file
,
const
type_t
*
type
)
{
print_file
(
file
,
2
,
"0x%02x, 0x8,
\t
/* %s [simple_pointer] */
\n
"
,
type
->
type
,
string_of_type
(
type
->
type
));
...
...
@@ -782,9 +782,9 @@ static size_t write_simple_pointer(FILE *file, const type_t *type)
return
4
;
}
static
size_t
write_pointer_tfs
(
FILE
*
file
,
type_t
*
type
,
size_
t
*
typestring_offset
)
static
size_t
write_pointer_tfs
(
FILE
*
file
,
type_t
*
type
,
unsigned
in
t
*
typestring_offset
)
{
size_
t
offset
=
*
typestring_offset
;
unsigned
in
t
offset
=
*
typestring_offset
;
print_file
(
file
,
0
,
"/* %d */
\n
"
,
offset
);
type
->
typestring_offset
=
offset
;
...
...
@@ -862,7 +862,7 @@ static int write_pointers(FILE *file, const attr_list_t *attrs,
static
size_t
write_pointer_description
(
FILE
*
file
,
const
attr_list_t
*
attrs
,
type_t
*
type
,
size_t
mem_offset
,
const
array_dims_t
*
array
,
int
level
,
size_
t
*
typestring_offset
)
unsigned
in
t
*
typestring_offset
)
{
const
var_t
*
v
;
unsigned
int
align
=
0
;
...
...
@@ -1817,7 +1817,7 @@ static size_t process_tfs(FILE *file, const ifref_list_t *ifaces, int for_object
{
const
var_t
*
var
;
const
ifref_t
*
iface
;
size_
t
typeformat_offset
=
2
;
unsigned
in
t
typeformat_offset
=
2
;
if
(
ifaces
)
LIST_FOR_EACH_ENTRY
(
iface
,
ifaces
,
const
ifref_t
,
entry
)
{
...
...
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