server: Cast-qual warning fix.

This commit is contained in:
Andrew Talbot 2006-10-07 19:47:38 +01:00 committed by Alexandre Julliard
parent 5fd3c4ad15
commit e60c86657a
1 changed files with 1 additions and 1 deletions

View File

@ -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 );