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
0e9c97eb
Commit
0e9c97eb
authored
Sep 21, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Sep 25, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Cast-qual warnings fix.
parent
d456e9f4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
olefont.c
dlls/oleaut32/olefont.c
+2
-2
typelib.c
dlls/oleaut32/typelib.c
+2
-2
No files found.
dlls/oleaut32/olefont.c
View file @
0e9c97eb
...
...
@@ -332,10 +332,10 @@ HRESULT WINAPI OleCreateFontIndirect(
if
(
!
lpFontDesc
)
{
FONTDESC
fd
;
static
const
WCHAR
fname
[]
=
{
'S'
,
'y'
,
's'
,
't'
,
'e'
,
'm'
,
0
};
static
WCHAR
fname
[]
=
{
'S'
,
'y'
,
's'
,
't'
,
'e'
,
'm'
,
0
};
fd
.
cbSizeofstruct
=
sizeof
(
fd
);
fd
.
lpstrName
=
(
WCHAR
*
)
fname
;
fd
.
lpstrName
=
fname
;
fd
.
cySize
.
s
.
Lo
=
80000
;
fd
.
cySize
.
s
.
Hi
=
0
;
fd
.
sWeight
=
0
;
...
...
dlls/oleaut32/typelib.c
View file @
0e9c97eb
...
...
@@ -611,14 +611,14 @@ HRESULT WINAPI RegisterTypeLib(
if
(
RegCreateKeyExW
(
key
,
ProxyStubClsidW
,
0
,
NULL
,
0
,
KEY_WRITE
,
NULL
,
&
subKey
,
NULL
)
==
ERROR_SUCCESS
)
{
RegSetValueExW
(
subKey
,
NULL
,
0
,
REG_SZ
,
(
BYTE
*
)
PSOA
,
sizeof
PSOA
);
(
const
BYTE
*
)
PSOA
,
sizeof
PSOA
);
RegCloseKey
(
subKey
);
}
if
(
RegCreateKeyExW
(
key
,
ProxyStubClsid32W
,
0
,
NULL
,
0
,
KEY_WRITE
,
NULL
,
&
subKey
,
NULL
)
==
ERROR_SUCCESS
)
{
RegSetValueExW
(
subKey
,
NULL
,
0
,
REG_SZ
,
(
BYTE
*
)
PSOA
,
sizeof
PSOA
);
(
const
BYTE
*
)
PSOA
,
sizeof
PSOA
);
RegCloseKey
(
subKey
);
}
...
...
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