aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/wordsize-32
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-01-06 12:15:49 +0000
committerRoland McGrath <roland@gnu.org>2006-01-06 12:15:49 +0000
commit4aa019cb004e881db7bdc21d00d1ac5199e03bbb (patch)
tree8137b113e6dd68f03ca2e3347c239d1d1f2b497e /sysdeps/wordsize-32
parentd15b99ac5af661dba1303f17a01f09aae7b6f5e7 (diff)
downloadglibc-4aa019cb004e881db7bdc21d00d1ac5199e03bbb.zip
glibc-4aa019cb004e881db7bdc21d00d1ac5199e03bbb.tar.gz
glibc-4aa019cb004e881db7bdc21d00d1ac5199e03bbb.tar.bz2
* sysdeps/wordsize-32/divdi3.c (__moddi3): Add a cast.
Diffstat (limited to 'sysdeps/wordsize-32')
-rw-r--r--sysdeps/wordsize-32/divdi3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/wordsize-32/divdi3.c b/sysdeps/wordsize-32/divdi3.c
index 94fb008..8fa6343 100644
--- a/sysdeps/wordsize-32/divdi3.c
+++ b/sysdeps/wordsize-32/divdi3.c
@@ -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;