From 0ec452930f874c2368ae778d6d35354c53838b51 Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 23 Feb 1990 16:58:34 +0000 Subject: [PATCH] print pointer as hex --- mach/proto/ncg/codegen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mach/proto/ncg/codegen.c b/mach/proto/ncg/codegen.c index 45536131d..6002f1310 100644 --- a/mach/proto/ncg/codegen.c +++ b/mach/proto/ncg/codegen.c @@ -312,7 +312,7 @@ if (Debug) if (!match(tp,&machsets[tokexp[i]],0)) { cp = findcoerc(tp, &machsets[tokexp[i]]); #ifndef NDEBUG -if (Debug>1) fprintf(stderr,"findcoerc returns %d at position %d\n",cp,i); +if (Debug>1) fprintf(stderr,"findcoerc returns 0x%x at position %d\n",(unsigned)cp,i); #endif if (cp==0) { for (j=0;j