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
e931b5d1
Commit
e931b5d1
authored
Jul 02, 2013
by
André Hentschel
Committed by
Alexandre Julliard
Jul 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Remove superfluous casts.
parent
0fb9de61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cpp.c
dlls/msvcrt/cpp.c
+3
-3
No files found.
dlls/msvcrt/cpp.c
View file @
e931b5d1
...
...
@@ -87,7 +87,7 @@ static void dump_obj_locator( const rtti_object_locator *ptr )
static
void
dump_obj_locator
(
const
rtti_object_locator
*
ptr
)
{
int
i
;
char
*
base
=
ptr
->
signature
==
0
?
(
char
*
)
RtlPcToFileHeader
((
void
*
)
ptr
,
(
void
**
)
&
base
)
:
(
char
*
)
ptr
-
ptr
->
object_locator
;
char
*
base
=
ptr
->
signature
==
0
?
RtlPcToFileHeader
((
void
*
)
ptr
,
(
void
**
)
&
base
)
:
(
char
*
)
ptr
-
ptr
->
object_locator
;
const
rtti_object_hierarchy
*
h
=
(
const
rtti_object_hierarchy
*
)(
base
+
ptr
->
type_hierarchy
);
const
type_info
*
type_descriptor
=
(
const
type_info
*
)(
base
+
ptr
->
type_descriptor
);
...
...
@@ -864,7 +864,7 @@ const type_info* CDECL MSVCRT___RTtypeid(void *cppobj)
char
*
base
;
if
(
obj_locator
->
signature
==
0
)
base
=
(
char
*
)
RtlPcToFileHeader
((
void
*
)
obj_locator
,
(
void
**
)
&
base
);
base
=
RtlPcToFileHeader
((
void
*
)
obj_locator
,
(
void
**
)
&
base
);
else
base
=
(
char
*
)
obj_locator
-
obj_locator
->
object_locator
;
...
...
@@ -992,7 +992,7 @@ void* CDECL MSVCRT___RTDynamicCast(void *cppobj, int unknown,
if
(
TRACE_ON
(
msvcrt
))
dump_obj_locator
(
obj_locator
);
if
(
obj_locator
->
signature
==
0
)
base
=
(
char
*
)
RtlPcToFileHeader
((
void
*
)
obj_locator
,
(
void
**
)
&
base
);
base
=
RtlPcToFileHeader
((
void
*
)
obj_locator
,
(
void
**
)
&
base
);
else
base
=
(
char
*
)
obj_locator
-
obj_locator
->
object_locator
;
...
...
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