fix mptouv

This commit is contained in:
rsc 2006-03-05 20:45:56 +00:00
parent b99162de12
commit 2b2bd9c4d3

View file

@ -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;
}