Index: third_party/yasm/patched-yasm/libyasm/bytecode.c |
=================================================================== |
--- third_party/yasm/patched-yasm/libyasm/bytecode.c (revision 71129) |
+++ third_party/yasm/patched-yasm/libyasm/bytecode.c (working copy) |
@@ -25,7 +25,7 @@ |
* POSSIBILITY OF SUCH DAMAGE. |
*/ |
#include "util.h" |
-/*@unused@*/ RCSID("$Id: bytecode.c 2130 2008-10-07 05:38:11Z peter $"); |
+/*@unused@*/ RCSID("$Id: bytecode.c 2233 2009-10-31 21:45:55Z peter $"); |
#include "libyasm-stdint.h" |
#include "coretype.h" |
@@ -309,10 +309,12 @@ |
long i; |
int error = 0; |
- if (yasm_bc_get_multiple(bc, &bc->mult_int, 1) || bc->mult_int == 0) { |
+ long mult; |
+ if (yasm_bc_get_multiple(bc, &mult, 1) || mult == 0) { |
*bufsize = 0; |
return NULL; |
} |
+ bc->mult_int = mult; |
/* special case for reserve bytecodes */ |
if (bc->callback->special == YASM_BC_SPECIAL_RESERVE) { |