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
9e55f92b
Commit
9e55f92b
authored
Dec 08, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmloader: Remove unneeded casts.
parent
301b8679
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
loaderstream.c
dlls/dmloader/loaderstream.c
+5
-5
No files found.
dlls/dmloader/loaderstream.c
View file @
9e55f92b
...
...
@@ -179,16 +179,16 @@ static HRESULT WINAPI IDirectMusicLoaderFileStream_IStream_Clone (LPSTREAM iface
if
(
SUCCEEDED
(
result
))
{
LARGE_INTEGER
liNewPosition
;
liNewPosition
.
QuadPart
=
ullCurrentPosition
.
QuadPart
;
result
=
IDirectMusicLoaderFileStream_IStream_Seek
(
(
LPSTREAM
)
pOther
,
liNewPosition
,
STREAM_SEEK_SET
,
&
ullCurrentPosition
);
result
=
IDirectMusicLoaderFileStream_IStream_Seek
(
pOther
,
liNewPosition
,
STREAM_SEEK_SET
,
&
ullCurrentPosition
);
}
if
(
FAILED
(
result
))
{
TRACE
(
": failed
\n
"
);
IDirectMusicLoaderFileStream_IStream_Release
(
(
LPSTREAM
)
pOther
);
IDirectMusicLoaderFileStream_IStream_Release
(
pOther
);
return
result
;
}
}
TRACE
(
": succeeded
\n
"
);
*
ppstm
=
(
IStream
*
)
pOther
;
*
ppstm
=
pOther
;
return
S_OK
;
}
...
...
@@ -452,7 +452,7 @@ static HRESULT WINAPI IDirectMusicLoaderResourceStream_IStream_Clone (LPSTREAM i
IDirectMusicLoaderResourceStream_Attach
(
pOther
,
This
->
pbMemData
,
This
->
llMemLength
,
This
->
llPos
,
This
->
pLoader
);
TRACE
(
": succeeded
\n
"
);
*
ppstm
=
(
IStream
*
)
pOther
;
*
ppstm
=
pOther
;
return
S_OK
;
}
...
...
@@ -670,7 +670,7 @@ static HRESULT WINAPI IDirectMusicLoaderGenericStream_IStream_Clone (LPSTREAM if
IDirectMusicLoaderGenericStream_Attach
(
pOther
,
pLowLevel
,
This
->
pLoader
);
TRACE
(
": succeeded
\n
"
);
*
ppstm
=
(
IStream
*
)
pOther
;
*
ppstm
=
pOther
;
return
S_OK
;
}
...
...
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