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
fa6e7c26
Commit
fa6e7c26
authored
Jan 29, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jan 29, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dxof: Remove superfluous pointer casts.
parent
0087064c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
d3dxof.c
dlls/d3dxof/d3dxof.c
+4
-4
No files found.
dlls/d3dxof/d3dxof.c
View file @
fa6e7c26
...
...
@@ -143,7 +143,7 @@ static HRESULT WINAPI IDirectXFileImpl_CreateEnumObject(IDirectXFile* iface, LPV
{
TRACE
(
"Open source file '%s'
\n
"
,
(
char
*
)
pvSource
);
hFile
=
CreateFileA
(
(
char
*
)
pvSource
,
GENERIC_READ
,
FILE_SHARE_READ
,
NULL
,
OPEN_EXISTING
,
0
,
NULL
);
hFile
=
CreateFileA
(
pvSource
,
GENERIC_READ
,
FILE_SHARE_READ
,
NULL
,
OPEN_EXISTING
,
0
,
NULL
);
if
(
hFile
==
INVALID_HANDLE_VALUE
)
{
TRACE
(
"File '%s' not found
\n
"
,
(
char
*
)
pvSource
);
...
...
@@ -164,11 +164,11 @@ static HRESULT WINAPI IDirectXFileImpl_CreateEnumObject(IDirectXFile* iface, LPV
}
else
if
(
dwLoadOptions
==
DXFILELOAD_FROMMEMORY
)
{
lpdxflm
=
(
LPDXFILELOADMEMORY
)
pvSource
;
lpdxflm
=
pvSource
;
TRACE
(
"Source in memory at %p with size %d
\n
"
,
lpdxflm
->
lpMemory
,
lpdxflm
->
dSize
);
memcpy
(
header
,
(
char
*
)
lpdxflm
->
lpMemory
,
16
);
memcpy
(
header
,
lpdxflm
->
lpMemory
,
16
);
}
else
{
...
...
@@ -311,7 +311,7 @@ static HRESULT WINAPI IDirectXFileImpl_RegisterTemplates(IDirectXFile* iface, LP
DWORD
token_header
;
parse_buffer
buf
;
buf
.
buffer
=
(
LPBYTE
)
pvData
;
buf
.
buffer
=
pvData
;
buf
.
rem_bytes
=
cbSize
;
buf
.
txt
=
FALSE
;
buf
.
token_present
=
FALSE
;
...
...
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