[commit] ia64-tdep.c: update an argument type in floatformat_valid()
Kevin Buettner
kevinb@redhat.com
Tue Nov 8 17:17:00 GMT 2005
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;
}
More information about the Gdb-patches
mailing list