* sysdeps/wordsize-32/divdi3.c (__moddi3): Add a cast.
authorRoland McGrath <roland@gnu.org>
Fri, 6 Jan 2006 12:15:49 +0000 (12:15 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 6 Jan 2006 12:15:49 +0000 (12:15 +0000)
ChangeLog
sysdeps/wordsize-32/divdi3.c

index cc4a369..2d7275d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 94fb008..8fa6343 100644 (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;