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
f5035577
Commit
f5035577
authored
Feb 07, 2007
by
Paul Vriens
Committed by
Alexandre Julliard
Feb 07, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Cast-qual warning fixes.
parent
bb6e47af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
umon.c
dlls/urlmon/umon.c
+7
-7
No files found.
dlls/urlmon/umon.c
View file @
f5035577
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
urlmon
);
WINE_DEFAULT_DEBUG_CHANNEL
(
urlmon
);
/* native urlmon.dll uses this key, too */
/* native urlmon.dll uses this key, too */
static
const
WCHAR
BSCBHolder
[]
=
{
'_'
,
'B'
,
'S'
,
'C'
,
'B'
,
'_'
,
'H'
,
'o'
,
'l'
,
'd'
,
'e'
,
'r'
,
'_'
,
0
};
static
WCHAR
BSCBHolder
[]
=
{
'_'
,
'B'
,
'S'
,
'C'
,
'B'
,
'_'
,
'H'
,
'o'
,
'l'
,
'd'
,
'e'
,
'r'
,
'_'
,
0
};
/*static BOOL registered_wndclass = FALSE;*/
/*static BOOL registered_wndclass = FALSE;*/
...
@@ -541,7 +541,7 @@ static HRESULT URLMonikerImpl_BindToStorage_hack(LPCWSTR URLName,
...
@@ -541,7 +541,7 @@ static HRESULT URLMonikerImpl_BindToStorage_hack(LPCWSTR URLName,
*
ppvObject
=
(
void
*
)
bind
->
pstrCache
;
*
ppvObject
=
(
void
*
)
bind
->
pstrCache
;
IStream_AddRef
((
IStream
*
)
bind
->
pstrCache
);
IStream_AddRef
((
IStream
*
)
bind
->
pstrCache
);
hres
=
IBindCtx_GetObjectParam
(
pbc
,
(
LPOLESTR
)
BSCBHolder
,
(
IUnknown
**
)
&
bind
->
pbscb
);
hres
=
IBindCtx_GetObjectParam
(
pbc
,
BSCBHolder
,
(
IUnknown
**
)
&
bind
->
pbscb
);
if
(
SUCCEEDED
(
hres
))
{
if
(
SUCCEEDED
(
hres
))
{
TRACE
(
"Got IBindStatusCallback...
\n
"
);
TRACE
(
"Got IBindStatusCallback...
\n
"
);
...
@@ -1296,16 +1296,16 @@ HRESULT WINAPI RegisterBindStatusCallback(
...
@@ -1296,16 +1296,16 @@ HRESULT WINAPI RegisterBindStatusCallback(
if
(
pbc
==
NULL
||
pbsc
==
NULL
)
if
(
pbc
==
NULL
||
pbsc
==
NULL
)
return
E_INVALIDARG
;
return
E_INVALIDARG
;
if
(
SUCCEEDED
(
IBindCtx_GetObjectParam
(
pbc
,
(
LPOLESTR
)
BSCBHolder
,
(
IUnknown
**
)
&
prev
)))
if
(
SUCCEEDED
(
IBindCtx_GetObjectParam
(
pbc
,
BSCBHolder
,
(
IUnknown
**
)
&
prev
)))
{
{
IBindCtx_RevokeObjectParam
(
pbc
,
(
LPOLESTR
)
BSCBHolder
);
IBindCtx_RevokeObjectParam
(
pbc
,
BSCBHolder
);
if
(
ppbscPrevious
)
if
(
ppbscPrevious
)
*
ppbscPrevious
=
prev
;
*
ppbscPrevious
=
prev
;
else
else
IBindStatusCallback_Release
(
prev
);
IBindStatusCallback_Release
(
prev
);
}
}
return
IBindCtx_RegisterObjectParam
(
pbc
,
(
LPOLESTR
)
BSCBHolder
,
(
IUnknown
*
)
pbsc
);
return
IBindCtx_RegisterObjectParam
(
pbc
,
BSCBHolder
,
(
IUnknown
*
)
pbsc
);
}
}
/***********************************************************************
/***********************************************************************
...
@@ -1333,11 +1333,11 @@ HRESULT WINAPI RevokeBindStatusCallback(
...
@@ -1333,11 +1333,11 @@ HRESULT WINAPI RevokeBindStatusCallback(
if
(
pbc
==
NULL
||
pbsc
==
NULL
)
if
(
pbc
==
NULL
||
pbsc
==
NULL
)
return
E_INVALIDARG
;
return
E_INVALIDARG
;
if
(
SUCCEEDED
(
IBindCtx_GetObjectParam
(
pbc
,
(
LPOLESTR
)
BSCBHolder
,
(
IUnknown
**
)
&
callback
)))
if
(
SUCCEEDED
(
IBindCtx_GetObjectParam
(
pbc
,
BSCBHolder
,
(
IUnknown
**
)
&
callback
)))
{
{
if
(
callback
==
pbsc
)
if
(
callback
==
pbsc
)
{
{
IBindCtx_RevokeObjectParam
(
pbc
,
(
LPOLESTR
)
BSCBHolder
);
IBindCtx_RevokeObjectParam
(
pbc
,
BSCBHolder
);
hr
=
S_OK
;
hr
=
S_OK
;
}
}
IBindStatusCallback_Release
(
pbsc
);
IBindStatusCallback_Release
(
pbsc
);
...
...
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