From 1fcac8f4b09ab5f2e294cf98e95155a42f2917bd Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sun, 5 Feb 2006 18:20:11 +0000 Subject: [PATCH] * expr.c (yasm_expr_print): Increase size of opstr so it's large enough to handle the error case string. svn path=/trunk/yasm/; revision=1363 --- libyasm/expr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libyasm/expr.c b/libyasm/expr.c index 164d0589..7480c742 100644 --- a/libyasm/expr.c +++ b/libyasm/expr.c @@ -1200,7 +1200,7 @@ yasm_expr_get_reg(yasm_expr **ep, int simplify) void yasm_expr_print(const yasm_expr *e, FILE *f) { - char opstr[6]; + char opstr[8]; int i; if (!e) { -- 2.40.0