This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: __eprintf fix [was Re: i686-pc-cygwin32 build of 19980628]


Sorry I previously sent this with a spurious line from assert.h in.
How difficult can it be to change one token :-(.

Fri Jul  3 11:39:08 1998  Dave Love  <d.love@dl.ac.uk>

	* libgcc2.c (__eprintf): Make args consistent with prototype in
	assert.h.

Index: libgcc2.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/libgcc2.c,v
retrieving revision 1.44
diff -u -p -F'^[_a-zA-Z0-9$]+ -r1.44 libgcc2.c
--- libgcc2.c	1998/06/23 10:51:43	1.44
+++ libgcc2.c	1998/07/05 13:27:48
@@ -1405,7 +1405,7 @@ __builtin_saveregs ()
 /* This is used by the `assert' macro.  */
 void
 __eprintf (const char *string, const char *expression,
-	   int line, const char *filename)
+	   unsigned line, const char *filename)
 {
   fprintf (stderr, string, expression, line, filename);
   fflush (stderr);


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