* sysdeps/wordsize-32/divdi3.c (__moddi3): Add a cast.

This commit is contained in:
Roland McGrath 2006-01-06 12:15:49 +00:00
parent d15b99ac5a
commit 4aa019cb00
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,7 @@
2006-01-06 Roland McGrath <roland@redhat.com>
* sysdeps/wordsize-32/divdi3.c (__moddi3): Add a cast.
* io/fcntl.h [__USE_ATFILE] (AT_EACCESS): New macro.
* posix/unistd.h [__USE_ATFILE]: Declare faccessat.
* io/faccessat.c: New file.

View File

@ -1,6 +1,6 @@
/* 64-bit multiplication and division
Copyright (C) 1989, 1992-1999, 2000, 2001, 2002, 2003, 2004
Free Software Foundation, Inc.
Copyright (C) 1989, 1992-1999,2000,2001,2002,2003,2004,2005
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
@ -309,7 +309,7 @@ __moddi3 (DWtype u, DWtype v)
}
if (v < 0)
v = -v;
__udivmoddi4 (u, v, &w);
__udivmoddi4 (u, v, (UDWtype *) &w);
if (c)
w = -w;
return w;