Author: tewk
Date: Wed May 9 11:34:07 2007
New Revision: 18491
Modified:
trunk/compilers/imcc/debug.c
Log:
[CAGE] Fix compiler warning
Modified: trunk/compilers/imcc/debug.c
==============================================================================
--- trunk/compilers/imcc/debug.c (original)
+++ trunk/compilers/imcc/debug.c Wed May 9 11:34:07 2007
@@ -228,7 +228,7 @@
continue;
if (!r->first_ins)
continue;
- fprintf(stderr, "%s %c\t%d\t%d\t%d\t%d\t%c %2d
%2d\t%d\t%d\t%s\t%x\n",
+ fprintf(stderr, "%s %c\t%d\t%d\t%d\t%d\t%c %2d
%2d\t%d\t%d\t%s\t%lx\n",
r->name,
r->usage & U_NON_VOLATILE ? 'P' : ' ',
r->first_ins->index, r->last_ins->index,
@@ -237,7 +237,7 @@
(int)r->color, r->want_regno,
r->use_count, r->lhs_use_count,
r->reg ? r->reg->name : "",
- r->usage
+ (UINTVAL)r->usage
);
}
fprintf(stderr, "\n");