diff options
author | rsc <devnull@localhost> | 2006-03-05 20:45:56 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-03-05 20:45:56 +0000 |
commit | 2b2bd9c4d3acb057d9dd9ed54e33dc2a205ae350 (patch) | |
tree | e88ac08476c41a84a3254b31b189c041e72e24f9 | |
parent | b99162de123fd5f99613cfc721982b3400b92f80 (diff) | |
download | plan9port-2b2bd9c4d3acb057d9dd9ed54e33dc2a205ae350.tar.gz plan9port-2b2bd9c4d3acb057d9dd9ed54e33dc2a205ae350.tar.bz2 plan9port-2b2bd9c4d3acb057d9dd9ed54e33dc2a205ae350.zip |
fix mptouv
-rw-r--r-- | src/libmp/port/mptouv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmp/port/mptouv.c b/src/libmp/port/mptouv.c index aa5af05b..eb663f38 100644 --- a/src/libmp/port/mptouv.c +++ b/src/libmp/port/mptouv.c @@ -46,7 +46,7 @@ mptouv(mpint *b) v = 0ULL; for(s = 0; s < b->top; s++) - v |= b->p[s]<<(s*sizeof(mpdigit)*8); + v |= (uvlong)b->p[s]<<(s*sizeof(mpdigit)*8); return v; } |