diff options
author | Daniel Jacobowitz <drow@false.org> | 2002-02-05 22:14:09 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2002-02-05 22:14:09 +0000 |
commit | e18651ecb3a42f0996e488366b69e6a8b2d660a1 (patch) | |
tree | 1a88d2eb4537d2f8502113f103b1f7832873c84b /gdb/gdbserver/linux-low.c | |
parent | 6b2725be3958d540c33dce134499521dda0c7a48 (diff) | |
download | gdb-e18651ecb3a42f0996e488366b69e6a8b2d660a1.zip gdb-e18651ecb3a42f0996e488366b69e6a8b2d660a1.tar.gz gdb-e18651ecb3a42f0996e488366b69e6a8b2d660a1.tar.bz2 |
2002-02-05 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/linux-low.c (mywait): Cast second argument of waitpid
to (int *).
Diffstat (limited to 'gdb/gdbserver/linux-low.c')
-rw-r--r-- | gdb/gdbserver/linux-low.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index 2aa0fe5..368c3f2 100644 --- a/gdb/gdbserver/linux-low.c +++ b/gdb/gdbserver/linux-low.c @@ -119,7 +119,7 @@ mywait (char *status) 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"); |