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
c9f97978
Commit
c9f97978
authored
Sep 20, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Sep 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Cast-qual warnings fix.
parent
278efe5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
stg_prop.c
dlls/ole32/stg_prop.c
+3
-3
No files found.
dlls/ole32/stg_prop.c
View file @
c9f97978
...
...
@@ -1511,7 +1511,7 @@ static BOOL PropertyStorage_DictionaryWriter(const void *key,
DWORD
keyLen
,
pad
=
0
;
StorageUtl_WriteDWord
((
LPBYTE
)
&
keyLen
,
0
,
(
lstrlenW
((
LPWSTR
)
key
)
+
1
)
*
sizeof
(
WCHAR
));
(
lstrlenW
((
LP
C
WSTR
)
key
)
+
1
)
*
sizeof
(
WCHAR
));
c
->
hr
=
IStream_Write
(
This
->
stm
,
&
keyLen
,
sizeof
(
keyLen
),
&
count
);
if
(
FAILED
(
c
->
hr
))
goto
end
;
...
...
@@ -2521,12 +2521,12 @@ HRESULT WINAPI FmtIdToPropStgName(const FMTID *rfmtid, LPOLESTR str)
lstrcpyW
(
str
,
szDocSummaryInfo
);
else
{
BYTE
*
fmtptr
;
const
BYTE
*
fmtptr
;
WCHAR
*
pstr
=
str
;
ULONG
bitsRemaining
=
BITS_PER_BYTE
;
*
pstr
++
=
5
;
for
(
fmtptr
=
(
BYTE
*
)
rfmtid
;
fmtptr
<
(
BYTE
*
)
rfmtid
+
sizeof
(
FMTID
);
)
for
(
fmtptr
=
(
const
BYTE
*
)
rfmtid
;
fmtptr
<
(
const
BYTE
*
)
rfmtid
+
sizeof
(
FMTID
);
)
{
ULONG
i
=
*
fmtptr
>>
(
BITS_PER_BYTE
-
bitsRemaining
);
...
...
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