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
491a06d9
Commit
491a06d9
authored
Mar 27, 2010
by
Mikhail Maroukhine
Committed by
Alexandre Julliard
Mar 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fix compiler warnings with flag -Wcast-qual.
parent
26cba0cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dispex.c
dlls/mshtml/dispex.c
+3
-3
No files found.
dlls/mshtml/dispex.c
View file @
491a06d9
...
@@ -248,12 +248,12 @@ static void add_func_info(dispex_data_t *data, DWORD *size, tid_t tid, const FUN
...
@@ -248,12 +248,12 @@ static void add_func_info(dispex_data_t *data, DWORD *size, tid_t tid, const FUN
static
int
dispid_cmp
(
const
void
*
p1
,
const
void
*
p2
)
static
int
dispid_cmp
(
const
void
*
p1
,
const
void
*
p2
)
{
{
return
((
func_info_t
*
)
p1
)
->
id
-
((
func_info_t
*
)
p2
)
->
id
;
return
((
const
func_info_t
*
)
p1
)
->
id
-
((
const
func_info_t
*
)
p2
)
->
id
;
}
}
static
int
func_name_cmp
(
const
void
*
p1
,
const
void
*
p2
)
static
int
func_name_cmp
(
const
void
*
p1
,
const
void
*
p2
)
{
{
return
strcmpiW
((
*
(
func_info_t
*
*
)
p1
)
->
name
,
(
*
(
func_info_t
*
*
)
p2
)
->
name
);
return
strcmpiW
((
*
(
func_info_t
*
const
*
)
p1
)
->
name
,
(
*
(
func_info_t
*
const
*
)
p2
)
->
name
);
}
}
static
dispex_data_t
*
preprocess_dispex_data
(
DispatchEx
*
This
)
static
dispex_data_t
*
preprocess_dispex_data
(
DispatchEx
*
This
)
...
@@ -322,7 +322,7 @@ static dispex_data_t *preprocess_dispex_data(DispatchEx *This)
...
@@ -322,7 +322,7 @@ static dispex_data_t *preprocess_dispex_data(DispatchEx *This)
static
int
id_cmp
(
const
void
*
p1
,
const
void
*
p2
)
static
int
id_cmp
(
const
void
*
p1
,
const
void
*
p2
)
{
{
return
*
(
DISPID
*
)
p1
-
*
(
DISPID
*
)
p2
;
return
*
(
const
DISPID
*
)
p1
-
*
(
const
DISPID
*
)
p2
;
}
}
HRESULT
get_dispids
(
tid_t
tid
,
DWORD
*
ret_size
,
DISPID
**
ret
)
HRESULT
get_dispids
(
tid_t
tid
,
DWORD
*
ret_size
,
DISPID
**
ret
)
...
...
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