This is the mail archive of the gdb-patches@sourceware.org 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] ia64-tdep.c: update an argument type infloatformat_valid()


I've just committed the change below.  With this change in place, the
ia64-linux-gnu target builds using -Werror.

	* ia64-tdep.c (floatformat_valid): Change type of `from' from
	`const char *' to `const void *'.

Index: ia64-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/ia64-tdep.c,v
retrieving revision 1.135
diff -u -p -r1.135 ia64-tdep.c
--- ia64-tdep.c	10 Sep 2005 18:11:02 -0000	1.135
+++ ia64-tdep.c	8 Nov 2005 01:40:24 -0000
@@ -324,7 +324,7 @@ ia64_dwarf_reg_to_regnum (int reg)
 }
 
 static int
-floatformat_valid (const struct floatformat *fmt, const char *from)
+floatformat_valid (const struct floatformat *fmt, const void *from)
 {
   return 1;
 }


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