Skip to content

Commit

Permalink
[BZ #2414]
Browse files Browse the repository at this point in the history
2006-03-03  Roland McGrath  <roland@redhat.com>
	[BZ #2414]
	* stdlib/tst-setcontext.c (f1): Take arguments of type int.
  • Loading branch information
Roland McGrath committed Mar 3, 2006
1 parent 2f4dc75 commit 3295976
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
6 changes: 3 additions & 3 deletions stdlib/tst-setcontext.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit 3295976

Please sign in to comment.