From da4a8ebe1cad1eeca67c39b6139e354516d5703f Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Mon, 12 Jun 2006 05:30:22 +0000 Subject: [PATCH] yasm_intnum_set_int(): Oops; compile before committing next time. svn path=/branches/new-optimizer/; revision=1574 --- libyasm/intnum.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libyasm/intnum.c b/libyasm/intnum.c index 8b1074be..1d205f9c 100644 --- a/libyasm/intnum.c +++ b/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) -- 2.40.0