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
ca78a8b6
Commit
ca78a8b6
authored
Jul 05, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Jul 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Cast-qual warnings fix.
parent
eb7a89cc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
stg_bigblockfile.c
dlls/ole32/stg_bigblockfile.c
+1
-1
stg_prop.c
dlls/ole32/stg_prop.c
+2
-2
storage32.c
dlls/ole32/storage32.c
+1
-5
No files found.
dlls/ole32/stg_bigblockfile.c
View file @
ca78a8b6
...
...
@@ -896,7 +896,7 @@ static HRESULT WINAPI ImplBIGBLOCKFILE_WriteAt(
if
(
bytes_left
)
{
readPtr
=
(
LPBYTE
)
readPtr
+
bytes_to_page
;
readPtr
=
(
const
BYTE
*
)
readPtr
+
bytes_to_page
;
page_index
++
;
offset_in_page
=
0
;
if
(
bytes_left
>
PAGE_SIZE
)
...
...
dlls/ole32/stg_prop.c
View file @
ca78a8b6
...
...
@@ -1775,8 +1775,8 @@ static BOOL PropertyStorage_PropertiesWriter(const void *key, const void *value,
assert
(
value
);
assert
(
extra
);
assert
(
closure
);
c
->
hr
=
PropertyStorage_WritePropertyToStream
(
This
,
c
->
propNum
++
,
(
DWORD
)
key
,
(
PROPVARIANT
*
)
value
,
c
->
sectionOffset
);
c
->
hr
=
PropertyStorage_WritePropertyToStream
(
This
,
c
->
propNum
++
,
(
DWORD
)
key
,
value
,
c
->
sectionOffset
);
return
SUCCEEDED
(
c
->
hr
);
}
...
...
dlls/ole32/storage32.c
View file @
ca78a8b6
...
...
@@ -4643,10 +4643,6 @@ HRESULT BlockChainStream_WriteAt(BlockChainStream* This,
return
STG_E_DOCFILECORRUPT
;
}
/*
* Here, I'm casting away the constness on the buffer variable
* This is OK since we don't intend to modify that buffer.
*/
*
bytesWritten
=
0
;
bufferWalker
=
(
const
BYTE
*
)
buffer
;
...
...
@@ -4667,7 +4663,7 @@ HRESULT BlockChainStream_WriteAt(BlockChainStream* This,
StorageImpl_WriteAt
(
This
->
parentStorage
,
ulOffset
,
(
BYTE
*
)
bufferWalker
,
bufferWalker
,
bytesToWrite
,
&
bytesWrittenAt
);
...
...
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