This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[COMMIT] Fix compilation warning in sol-thread.c
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 16 May 2005 00:13:58 +0200 (CEST)
- Subject: [COMMIT] Fix compilation warning in sol-thread.c
Makes us compile again with -Werror on Solaris.
Committed as obvious,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* sol-thread.c (ignore): Change last argument to `gdb_byte.'
Index: sol-thread.c
===================================================================
RCS file: /cvs/src/src/gdb/sol-thread.c,v
retrieving revision 1.48
diff -u -p -r1.48 sol-thread.c
--- sol-thread.c 12 May 2005 21:36:08 -0000 1.48
+++ sol-thread.c 15 May 2005 22:11:50 -0000
@@ -1523,7 +1523,7 @@ sol_make_note_section (bfd *obfd, int *n
}
static int
-ignore (CORE_ADDR addr, char *contents)
+ignore (CORE_ADDR addr, gdb_byte *contents)
{
return 0;
}