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
bd14f66e
Commit
bd14f66e
authored
Nov 25, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed warnings.
parent
a59324db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
hglobalstream.c
dlls/ole32/hglobalstream.c
+1
-1
stg_bigblockfile.c
dlls/ole32/stg_bigblockfile.c
+3
-3
No files found.
dlls/ole32/hglobalstream.c
View file @
bd14f66e
...
...
@@ -249,7 +249,7 @@ HGLOBALStreamImpl* HGLOBALStreamImpl_Construct(
/*
* This method will allocate a handle if one is not supplied.
*/
if
(
newStream
->
supportHandle
==
NULL
)
if
(
!
newStream
->
supportHandle
)
{
newStream
->
supportHandle
=
GlobalAlloc
(
GMEM_MOVEABLE
|
GMEM_NODISCARD
|
GMEM_SHARE
,
0
);
...
...
dlls/ole32/stg_bigblockfile.c
View file @
bd14f66e
...
...
@@ -213,7 +213,7 @@ static BOOL BIGBLOCKFILE_FileInit(LPBIGBLOCKFILE This, HANDLE hFile)
0
,
0
,
NULL
);
if
(
This
->
hfilemap
==
NULL
)
if
(
!
This
->
hfilemap
)
{
CloseHandle
(
This
->
hfile
);
return
FALSE
;
...
...
@@ -237,7 +237,7 @@ static BOOL BIGBLOCKFILE_FileInit(LPBIGBLOCKFILE This, HANDLE hFile)
static
BOOL
BIGBLOCKFILE_MemInit
(
LPBIGBLOCKFILE
This
,
ILockBytes
*
plkbyt
)
{
This
->
hfile
=
0
;
This
->
hfilemap
=
NULL
;
This
->
hfilemap
=
0
;
/*
* Retrieve the handle to the byte array from the LockByte object.
...
...
@@ -404,7 +404,7 @@ void BIGBLOCKFILE_SetSize(LPBIGBLOCKFILE This, ULARGE_INTEGER newSize)
* close file-mapping object, must be done before call to SetEndFile
*/
CloseHandle
(
This
->
hfilemap
);
This
->
hfilemap
=
NULL
;
This
->
hfilemap
=
0
;
/*
* BEGIN HACK
...
...
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