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
c9b4f601
Commit
c9b4f601
authored
Jan 20, 2004
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 20, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed misuse of scalar reference variable.
parent
eca464b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
c_type.pm
tools/winapi/c_type.pm
+8
-8
No files found.
tools/winapi/c_type.pm
View file @
c9b4f601
...
...
@@ -264,14 +264,14 @@ sub _refresh {
my
$bits
=
$3
;
}
my
$base_size
=
&
$$find_size
(
$base_type_name
);
my
$align
=
&
$$find_align
(
$base_type_name
);
$
$align
=
&
$$find_align
(
$base_type_name
);
if
(
defined
(
$align
))
{
$
align
=
$pack
if
$align
>
$pack
;
$max_field_align
=
$
align
if
$align
>
$max_field_align
;
if
(
defined
(
$
$
align
))
{
$
$align
=
$pack
if
$
$align
>
$pack
;
$max_field_align
=
$
$align
if
$
$align
>
$max_field_align
;
if
(
$offset
%
$align
!=
0
)
{
$offset
=
(
int
(
$offset
/
$
align
)
+
1
)
*
$align
;
if
(
$offset
%
$
$
align
!=
0
)
{
$offset
=
(
int
(
$offset
/
$
$align
)
+
1
)
*
$
$align
;
}
}
...
...
@@ -289,14 +289,14 @@ sub _refresh {
$offset_bits
=
0
;
}
$$
$field_aligns
[
$n
]
=
$align
;
$$
$field_aligns
[
$n
]
=
$
$
align
;
$$
$field_base_sizes
[
$n
]
=
$base_size
;
$$
$field_offsets
[
$n
]
=
$offset
;
$$
$field_sizes
[
$n
]
=
$type_size
;
$offset
+=
$type_size
;
}
else
{
$$
$field_aligns
[
$n
]
=
$align
;
$$
$field_aligns
[
$n
]
=
$
$
align
;
$$
$field_base_sizes
[
$n
]
=
$base_size
;
$$
$field_offsets
[
$n
]
=
$offset
;
$$
$field_sizes
[
$n
]
=
$type_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