yasm_intnum_set_int(): Oops; compile before committing next time.

svn path=/branches/new-optimizer/; revision=1574
0.6.0
Peter Johnson 19 years ago
parent 7ebf4d268e
commit da4a8ebe1c
  1. 6
      libyasm/intnum.c

@ -598,13 +598,13 @@ void
yasm_intnum_set_int(yasm_intnum *intn, long val)
{
/* positive numbers can go through the uint() function */
if (i >= 0) {
yasm_intnum_set_uint(intn, (unsigned long)i);
if (val >= 0) {
yasm_intnum_set_uint(intn, (unsigned long)val);
return;
}
BitVector_Empty(conv_bv);
BitVector_Chunk_Store(conv_bv, 32, 0, (unsigned long)(-i));
BitVector_Chunk_Store(conv_bv, 32, 0, (unsigned long)(-val));
BitVector_Negate(conv_bv, conv_bv);
if (intn->type == INTNUM_BV)

Loading…
Cancel
Save