tadd cast (Taj Khattra) - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 1ccd3e1e2301a2b2da22eff88e308f3a92c95416
(DIR) parent 73abc62794b7cce08ab260dcaef88c9febc4b959
(HTM) Author: rsc <devnull@localhost>
Date: Thu, 29 Dec 2005 22:02:13 +0000
add cast (Taj Khattra)
Diffstat:
M src/libmp/port/mpvecdigmuladd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/libmp/port/mpvecdigmuladd.c b/src/libmp/port/mpvecdigmuladd.c
t@@ -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