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
0152ec03
Commit
0152ec03
authored
Jun 27, 2007
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
janitorial: Remove superfluous casts of void pointers to other pointer types.
parent
b4475b25
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
amstream.c
dlls/amstream/amstream.c
+1
-1
nodemap.c
dlls/msxml3/nodemap.c
+1
-1
reader.c
dlls/riched20/reader.c
+1
-1
string.c
dlls/shlwapi/tests/string.c
+1
-1
cursoricon.c
dlls/user32/tests/cursoricon.c
+1
-1
No files found.
dlls/amstream/amstream.c
View file @
0152ec03
...
...
@@ -260,7 +260,7 @@ static HRESULT WINAPI IAMMultiMediaStreamImpl_AddMediaStream(IAMMultiMediaStream
hr
=
MediaStream_create
((
IMultiMediaStream
*
)
iface
,
PurposeId
,
This
->
StreamType
,
&
pStream
);
if
(
SUCCEEDED
(
hr
))
{
pNewStreams
=
(
IMediaStream
**
)
CoTaskMemAlloc
((
This
->
nbStreams
+
1
)
*
sizeof
(
IMediaStream
*
));
pNewStreams
=
CoTaskMemAlloc
((
This
->
nbStreams
+
1
)
*
sizeof
(
IMediaStream
*
));
if
(
!
pNewStreams
)
{
IMediaStream_Release
(
pStream
);
...
...
dlls/msxml3/nodemap.c
View file @
0152ec03
...
...
@@ -150,7 +150,7 @@ xmlChar *xmlChar_from_wchar( LPWSTR str )
xmlChar
*
xmlstr
;
len
=
WideCharToMultiByte
(
CP_UTF8
,
0
,
str
,
-
1
,
NULL
,
0
,
NULL
,
NULL
);
xmlstr
=
(
xmlChar
*
)
HeapAlloc
(
GetProcessHeap
(),
0
,
len
);
xmlstr
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
);
if
(
xmlstr
)
WideCharToMultiByte
(
CP_UTF8
,
0
,
str
,
-
1
,
(
LPSTR
)
xmlstr
,
len
,
NULL
,
NULL
);
return
xmlstr
;
...
...
dlls/riched20/reader.c
View file @
0152ec03
...
...
@@ -2682,7 +2682,7 @@ static void
RTFFlushCPOutputBuffer
(
RTF_Info
*
info
)
{
int
bufferMax
=
info
->
dwCPOutputCount
*
2
*
sizeof
(
WCHAR
);
WCHAR
*
buffer
=
(
WCHAR
*
)
RTFAlloc
(
bufferMax
);
WCHAR
*
buffer
=
RTFAlloc
(
bufferMax
);
int
length
;
length
=
MultiByteToWideChar
(
info
->
codePage
,
0
,
info
->
cpOutputBuffer
,
...
...
dlls/shlwapi/tests/string.c
View file @
0152ec03
...
...
@@ -605,7 +605,7 @@ static void test_StrCmpW(void)
static
WCHAR
*
CoDupStrW
(
const
char
*
src
)
{
INT
len
=
MultiByteToWideChar
(
CP_ACP
,
0
,
src
,
-
1
,
NULL
,
0
);
WCHAR
*
szTemp
=
(
WCHAR
*
)
CoTaskMemAlloc
(
len
*
sizeof
(
WCHAR
));
WCHAR
*
szTemp
=
CoTaskMemAlloc
(
len
*
sizeof
(
WCHAR
));
MultiByteToWideChar
(
CP_ACP
,
0
,
src
,
-
1
,
szTemp
,
len
);
return
szTemp
;
}
...
...
dlls/user32/tests/cursoricon.c
View file @
0152ec03
...
...
@@ -94,7 +94,7 @@ static void test_CopyImage_Bitmap(int depth)
unsigned
int
i
;
/* Create a device-independent bitmap (DIB) */
info
=
(
BITMAPINFO
*
)
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
BITMAPINFOHEADER
)
+
256
*
sizeof
(
RGBQUAD
));
info
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
BITMAPINFOHEADER
)
+
256
*
sizeof
(
RGBQUAD
));
info
->
bmiHeader
.
biSize
=
sizeof
(
info
->
bmiHeader
);
info
->
bmiHeader
.
biWidth
=
2
;
info
->
bmiHeader
.
biHeight
=
2
;
...
...
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