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
7f27eb6a
Commit
7f27eb6a
authored
Nov 22, 2011
by
Andrew Talbot
Committed by
Alexandre Julliard
Nov 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Avoid right-shift of negative values.
parent
40179bed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
typegen.c
tools/widl/typegen.c
+2
-2
No files found.
tools/widl/typegen.c
View file @
7f27eb6a
...
@@ -2379,8 +2379,8 @@ static void write_descriptors(FILE *file, type_t *type, unsigned int *tfsoff)
...
@@ -2379,8 +2379,8 @@ static void write_descriptors(FILE *file, type_t *type, unsigned int *tfsoff)
print_file
(
file
,
2
,
"0x%x,
\t
/* FIXME: always FC_LONG */
\n
"
,
RPC_FC_LONG
);
print_file
(
file
,
2
,
"0x%x,
\t
/* FIXME: always FC_LONG */
\n
"
,
RPC_FC_LONG
);
write_conf_or_var_desc
(
file
,
current_structure
,
offset
,
ft
,
write_conf_or_var_desc
(
file
,
current_structure
,
offset
,
ft
,
get_attrp
(
f
->
attrs
,
ATTR_SWITCHIS
));
get_attrp
(
f
->
attrs
,
ATTR_SWITCHIS
));
print_file
(
file
,
2
,
"NdrFcShort(
%hd
),
\t
/* Offset= %hd (%u) */
\n
"
,
print_file
(
file
,
2
,
"NdrFcShort(
0x%hx
),
\t
/* Offset= %hd (%u) */
\n
"
,
reloff
,
reloff
,
absoff
);
(
unsigned
short
)
reloff
,
reloff
,
absoff
);
*
tfsoff
+=
8
;
*
tfsoff
+=
8
;
}
}
offset
+=
size
;
offset
+=
size
;
...
...
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