From b7f0f3dfb33c91933748c8e736e3d1af32a9f545 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Tue, 26 Nov 2013 04:05:37 -0800 Subject: [PATCH] [bugfix] get rid of a comma --- src/macro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/macro.c b/src/macro.c index dca9b8bc..0c930eea 100644 --- a/src/macro.c +++ b/src/macro.c @@ -203,7 +203,7 @@ new_uniq_sym(pic_state *pic, pic_sym base) char *str; pic_sym uniq; - str = (char *)pic_alloc(pic, strlen(pic_symbol_name(pic, base)), + (int)log10(s) + 2); + str = (char *)pic_alloc(pic, strlen(pic_symbol_name(pic, base)) + (int)log10(s) + 2); sprintf(str, "%s@%d", pic_symbol_name(pic, base), s); uniq = pic_intern_cstr(pic, str);