From 1270787344846e277b4dd2a538a763988b73a95c Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Tue, 20 Jan 2015 16:02:44 +0900 Subject: [PATCH] [bugfix] build failure in debug mode --- extlib/benz/lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extlib/benz/lib.c b/extlib/benz/lib.c index 4a82a981..234f3833 100644 --- a/extlib/benz/lib.c +++ b/extlib/benz/lib.c @@ -169,7 +169,7 @@ export(pic_state *pic, pic_value spec) } #if DEBUG - printf("* exporting %s as %s\n", pic_symbol_name(pic, pic_sym(b)), pic_symbol_name(pic, rename)); + printf("* exporting %s as %s\n", pic_symbol_name(pic, pic_sym_ptr(b)), pic_symbol_name(pic, rename)); #endif pic_dict_set(pic, pic->lib->exports, pic_sym_ptr(b), pic_obj_value(rename));