aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@gcc.gnu.org>2004-10-07 19:55:15 -0700
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-10-07 19:55:15 -0700
commit9c859be16942ed443ff29b0cbb8d4f8e5c3227cd (patch)
tree7a9f65a451d828134cc73b0b3793f99d9eba5c4d /gcc
parent131263fa870bf2cacf555a7b123032338da9477f (diff)
downloadgcc-9c859be16942ed443ff29b0cbb8d4f8e5c3227cd.zip
gcc-9c859be16942ed443ff29b0cbb8d4f8e5c3227cd.tar.gz
gcc-9c859be16942ed443ff29b0cbb8d4f8e5c3227cd.tar.bz2
libgcc2.c (__moddi3): Cast &w to UDWtype*.
2004-10-07 Andrew Pinski <pinskia@physics.uc.edu> * libgcc2.c (__moddi3): Cast &w to UDWtype*. From-SVN: r88734
Diffstat (limited to 'gcc')
-rw-r--r--gcc/libgcc2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c
index 3c9e970..eaa55f4 100644
--- a/gcc/libgcc2.c
+++ b/gcc/libgcc2.c
@@ -1022,7 +1022,7 @@ __moddi3 (DWtype u, DWtype v)
if (vv.s.high < 0)
vv.ll = -vv.ll;
- (void) __udivmoddi4 (uu.ll, vv.ll, &w);
+ (void) __udivmoddi4 (uu.ll, vv.ll, (UDWtype*)&w);
if (c)
w = -w;