* Fix Verse bug [#8959] Clients doesn't connect if libverse.a is compiled with -O2

Merged from Verse SVN (r4524). See Verse bug tracker for bug report.
This commit is contained in:
Nathan Letwory
2008-04-30 22:42:12 +00:00
parent 5fef83b0ce
commit ada5f0403e

View File

@@ -768,7 +768,7 @@ void v_bignum_square_half(VBigDig *x)
for(j = i + 1; j < t; j++)
{
/* printf("computing uv=%X+2*%X*%X+%X\n", w[i + j], x[1 + j], x[1 + i], c);*/
uv = x[1 + j] * x[1 + i];
uv = ((VBigDigs)x[1 + j]) * ((VBigDigs)x[1 + i]);
high = (uv & 0x80000000) != 0;
uv *= 2;
ouv = uv; /* Addition below might wrap and generate high bit. */