* sysdeps/wordsize-32/divdi3.c (__moddi3): Add a cast.
This commit is contained in:
parent
d15b99ac5a
commit
4aa019cb00
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user