server: Cast-qual warning fix
Andrew Talbot
Andrew.Talbot at talbotville.com
Sat Oct 7 13:47:38 CDT 2006
Changelog:
server: Cast-qual warning fix.
diff -urN a/server/ptrace.c b/server/ptrace.c
--- a/server/ptrace.c 2006-07-26 10:23:33.000000000 +0100
+++ b/server/ptrace.c 2006-10-07 17:30:38.000000000 +0100
@@ -272,7 +272,7 @@
}
/* 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 );
More information about the wine-patches
mailing list