This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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;
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]