This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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]

[PATCH] Fix non-ISO glitch / Werror warning in unwind-ia64.c


I see that Jeff Law fixed the unwind functions to not take character
arguments.  He didn't get the typedef for them, though, which created a slew
of warnings.

Committed as obvious.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/binutils/ChangeLog,v
retrieving revision 1.414
diff -u -r1.414 ChangeLog
--- ChangeLog	2002/01/29 16:46:36	1.414
+++ ChangeLog	2002/01/29 16:51:50
@@ -1,5 +1,10 @@
 2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
 
+	* unwind-ia64.c (unw_decoder): Change second argument
+	to unsigned int, to match function prototypes.
+
+2002-01-29  Daniel Jacobowitz  <drow@mvista.com>
+
 	* objdump.c: Include "getopt.h" after "bucomm.h" so that
 	__GNU_LIBRARY__ will be defined.
 	* size.c: Likewise.
Index: unwind-ia64.c
===================================================================
RCS file: /cvs/src/src/binutils/unwind-ia64.c,v
retrieving revision 1.6
diff -u -r1.6 unwind-ia64.c
--- unwind-ia64.c	2001/11/10 01:04:39	1.6
+++ unwind-ia64.c	2002/01/29 16:51:51
@@ -1071,7 +1071,7 @@
 }
 
 typedef const unsigned char *(*unw_decoder)
-     PARAMS ((const unsigned char *, unsigned char, void *));
+     PARAMS ((const unsigned char *, unsigned int, void *));
 
 static unw_decoder unw_decode_table[2][8] =
   {


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