From 1901a7ab3005203ec05c1483e4b5921a2e5bcbde Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Fri, 7 Feb 2014 01:09:05 +0900 Subject: [PATCH] e->key is no longer of const char * type --- src/macro.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/macro.c b/src/macro.c index 04f2e65e..78936281 100644 --- a/src/macro.c +++ b/src/macro.c @@ -190,10 +190,10 @@ pic_import(pic_state *pic, pic_value spec) for (xh_begin(lib->exports, &it); ! xh_isend(&it); xh_next(&it)) { #if DEBUG if (it.e->val >= 0) { - printf("* importing %s as %s\n", it.e->key, pic_symbol_name(pic, (pic_sym)it.e->val)); + printf("* importing %s as %s\n", pic_symbol_name(pic, (long)it.e->key), pic_symbol_name(pic, it.e->val)); } else { - printf("* importing %s\n", it.e->key); + printf("* importing %s\n", pic_symbol_name(pic, (long)it.e->key)); } #endif if (it.e->val >= 0) {