2006-03-03  Roland McGrath  <roland@redhat.com>
	[BZ #2414]
	* stdlib/tst-setcontext.c (f1): Take arguments of type int.
This commit is contained in:
Roland McGrath 2006-03-03 11:51:37 +00:00
parent 2f4dc75178
commit 3295976aff
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2006-03-03 Roland McGrath <roland@redhat.com>
[BZ #2414]
* stdlib/tst-setcontext.c (f1): Take arguments of type int.
2006-03-02 Roland McGrath <roland@redhat.com>
* sysdeps/unix/alpha/sysdep.h (PTR_MANGLE): Use __typeof in cast.

View file

@ -1,4 +1,4 @@
/* Copyright (C) 2001,02, 2004 Free Software Foundation, Inc.
/* Copyright (C) 2001,2002,2004,2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -30,9 +30,9 @@ static int was_in_f2;
static char st2[32768];
static void
f1 (long a0, long a1, long a2, long a3)
f1 (int a0, int a1, int a2, int a3)
{
printf ("start f1(a0=%lx,a1=%lx,a2=%lx,a3=%lx)\n", a0, a1, a2, a3);
printf ("start f1(a0=%x,a1=%x,a2=%x,a3=%x)\n", a0, a1, a2, a3);
if (a0 != 1 || a1 != 2 || a2 != 3 || a3 != -4)
{