]> granicus.if.org Git - yasm/commitdiff
* expr.c (yasm_expr_print): Increase size of opstr so it's large enough to
authorPeter Johnson <peter@tortall.net>
Sun, 5 Feb 2006 18:20:11 +0000 (18:20 -0000)
committerPeter Johnson <peter@tortall.net>
Sun, 5 Feb 2006 18:20:11 +0000 (18:20 -0000)
handle the error case string.

svn path=/trunk/yasm/; revision=1363

libyasm/expr.c

index 164d05896904d69fa615e7e78f44cfc8e66ec6f8..7480c7420a88d8cec47da0aa9248dc09955534d4 100644 (file)
@@ -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) {