mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 16:28:18 +00:00
server: Cast-qual warning fix.
This commit is contained in:
parent
5fd3c4ad15
commit
e60c86657a
|
@ -272,7 +272,7 @@ static int suspend_for_ptrace( struct thread *thread )
|
|||
}
|
||||
|
||||
/* read an int from a thread address space */
|
||||
static int read_thread_int( struct thread *thread, const int *addr, int *data )
|
||||
static int read_thread_int( struct thread *thread, int *addr, int *data )
|
||||
{
|
||||
errno = 0;
|
||||
*data = ptrace( PTRACE_PEEKDATA, get_ptrace_pid(thread), (caddr_t)addr, 0 );
|
||||
|
|
Loading…
Reference in a new issue