diff options
author | rsc <devnull@localhost> | 2005-12-29 22:02:13 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-12-29 22:02:13 +0000 |
commit | 1ccd3e1e2301a2b2da22eff88e308f3a92c95416 (patch) | |
tree | d97c713540c04435b752e462a14580af65d6ea50 /src/libmp | |
parent | 73abc62794b7cce08ab260dcaef88c9febc4b959 (diff) | |
download | plan9port-1ccd3e1e2301a2b2da22eff88e308f3a92c95416.tar.gz plan9port-1ccd3e1e2301a2b2da22eff88e308f3a92c95416.tar.bz2 plan9port-1ccd3e1e2301a2b2da22eff88e308f3a92c95416.zip |
add cast (Taj Khattra)
Diffstat (limited to 'src/libmp')
-rw-r--r-- | src/libmp/port/mpvecdigmuladd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmp/port/mpvecdigmuladd.c b/src/libmp/port/mpvecdigmuladd.c index 6b6c6837..7f2c537a 100644 --- a/src/libmp/port/mpvecdigmuladd.c +++ b/src/libmp/port/mpvecdigmuladd.c @@ -2,7 +2,7 @@ #include <mp.h> #include "dat.h" -#define LO(x) ((x) & ((1<<(Dbits/2))-1)) +#define LO(x) ((x) & (((mpint)1<<(Dbits/2))-1)) #define HI(x) ((x) >> (Dbits/2)) static void |