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
24c4f46d
Commit
24c4f46d
authored
Dec 11, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 12, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt/tests: Cast-qual warnings fix.
parent
ebd6f7d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
cpp.c
dlls/msvcrt/tests/cpp.c
+3
-3
No files found.
dlls/msvcrt/tests/cpp.c
View file @
24c4f46d
...
...
@@ -140,7 +140,7 @@ inline static void* do_call_func1(void *func, void *_this)
return
(
void
*
)
retval
;
}
inline
static
void
*
do_call_func2
(
void
*
func
,
void
*
_this
,
void
*
arg
)
inline
static
void
*
do_call_func2
(
void
*
func
,
void
*
_this
,
const
void
*
arg
)
{
volatile
void
*
retval
=
0
;
__asm
...
...
@@ -164,7 +164,7 @@ static void* do_call_func1(void *func, void *_this)
:
"memory"
);
return
ret
;
}
static
void
*
do_call_func2
(
void
*
func
,
void
*
_this
,
void
*
arg
)
static
void
*
do_call_func2
(
void
*
func
,
void
*
_this
,
const
void
*
arg
)
{
void
*
ret
;
__asm__
__volatile__
(
"pushl %2
\n\t
call *%1"
...
...
@@ -176,7 +176,7 @@ static void* do_call_func2(void *func, void *_this, void* arg)
#endif
#define call_func1(x,y) do_call_func1((void*)x,(void*)y)
#define call_func2(x,y,z) do_call_func2((void*)x,(void*)y,(void*)z)
#define call_func2(x,y,z) do_call_func2((void*)x,(void*)y,(
const
void*)z)
/* Some exports are only available in later versions */
#define SETNOFAIL(x,y) x = (void*)GetProcAddress(hMsvcrt,y)
...
...
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