From f88350b611ed8f0c2f2798d752c3872764efc83c Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 18 Jul 2009 22:07:51 +0200 Subject: fix some warning --- tccelf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tccelf.c') diff --git a/tccelf.c b/tccelf.c index e114f42..b55d55a 100644 --- a/tccelf.c +++ b/tccelf.c @@ -632,7 +632,7 @@ static void relocate_section(TCCState *s1, Section *s) break; default: fprintf(stderr,"FIXME: handle reloc type %x at %lx [%.8x] to %lx\n", - type,addr,(unsigned int )ptr,val); + type,addr,(unsigned int)(long)ptr,val); break; #elif defined(TCC_TARGET_C67) case R_C60_32: @@ -658,7 +658,7 @@ static void relocate_section(TCCState *s1, Section *s) break; default: fprintf(stderr,"FIXME: handle reloc type %x at %lx [%.8x] to %lx\n", - type,addr,(unsigned int )ptr,val); + type,addr,(unsigned int)(long)ptr, val); break; #elif defined(TCC_TARGET_X86_64) case R_X86_64_64: -- cgit v1.3.1