From 433521231784c6ce26900f88c382bee63cdd169b Mon Sep 17 00:00:00 2001 From: Teddy Date: Sun, 4 May 2014 02:37:59 +0800 Subject: resolve interval building issues in loops --- ast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ast.c') diff --git a/ast.c b/ast.c index b2c6676..959addf 100644 --- a/ast.c +++ b/ast.c @@ -401,7 +401,7 @@ char *cnode_debug_type_repr(CNode *ast) { } head += sprintf(head, "(%d:%d)", ast->loc.row, ast->loc.col); if (ast->ext.type) - sprintf(head, "->(var:%lx type:%lx ic:%d cv:%d off:%d)", + sprintf(head, "->(var:%lx type:%lx ic:%d cv:%ld off:%d)", (size_t)ast->ext.var, (size_t)ast->ext.type, ast->ext.is_const, ast->ext.const_val, ast->ext.offset); } -- cgit v1.2.3