From: Roland McGrath Date: Fri, 3 Mar 2006 11:51:37 +0000 (+0000) Subject: [BZ #2414] X-Git-Tag: cvs/fedora-glibc-20060306T0720~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3295976affeff4d04981811c45d466b276b6dce3;p=thirdparty%2Fglibc.git [BZ #2414] 2006-03-03 Roland McGrath [BZ #2414] * stdlib/tst-setcontext.c (f1): Take arguments of type int. --- diff --git a/ChangeLog b/ChangeLog index b43daf52132..8d8a2673dd2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-03-03 Roland McGrath + + [BZ #2414] + * stdlib/tst-setcontext.c (f1): Take arguments of type int. + 2006-03-02 Roland McGrath * sysdeps/unix/alpha/sysdep.h (PTR_MANGLE): Use __typeof in cast. diff --git a/stdlib/tst-setcontext.c b/stdlib/tst-setcontext.c index 7dff966e200..e8b1e226715 100644 --- a/stdlib/tst-setcontext.c +++ b/stdlib/tst-setcontext.c @@ -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) {