* gdbserver/linux-low.c (mywait): Cast second argument of waitpid
to (int *).
+2002-02-05 Daniel Jacobowitz <drow@mvista.com>
+
+ * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
+ to (int *).
+
2002-02-05 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/linux-low.c (kill_inferior): Remove commented out
union wait w;
enable_async_io ();
- pid = waitpid (inferior_pid, &w, 0);
+ pid = waitpid (inferior_pid, (int *)&w, 0);
disable_async_io ();
if (pid != inferior_pid)
perror_with_name ("wait");