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
ef43048c
Commit
ef43048c
authored
Feb 23, 2023
by
Mohamad Al-Jaf
Committed by
Alexandre Julliard
Mar 01, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Use "i2" / "u2" for INT16 parameterized type signature.
parent
e427e893
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
typetree.c
tools/widl/typetree.c
+3
-1
No files found.
tools/widl/typetree.c
View file @
ef43048c
...
...
@@ -210,6 +210,9 @@ static size_t append_type_signature(char **buf, size_t *len, size_t pos, type_t
case
TYPE_BASIC
:
switch
(
type_basic_get_type
(
type
))
{
case
TYPE_BASIC_INT16
:
n
+=
strappend
(
buf
,
len
,
pos
+
n
,
type_basic_get_sign
(
type
)
<=
0
?
"i2"
:
"u2"
);
return
n
;
case
TYPE_BASIC_INT
:
case
TYPE_BASIC_INT32
:
case
TYPE_BASIC_LONG
:
...
...
@@ -231,7 +234,6 @@ static size_t append_type_signature(char **buf, size_t *len, size_t pos, type_t
case
TYPE_BASIC_BYTE
:
n
+=
strappend
(
buf
,
len
,
pos
+
n
,
"u1"
);
return
n
;
case
TYPE_BASIC_INT16
:
case
TYPE_BASIC_INT3264
:
case
TYPE_BASIC_CHAR
:
case
TYPE_BASIC_HYPER
:
...
...
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