diff options
| author | grischka <grischka> | 2009-07-18 22:07:51 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2009-07-18 22:07:51 +0200 |
| commit | f88350b611ed8f0c2f2798d752c3872764efc83c (patch) | |
| tree | c93e5ea5948f073cff967fbed0112e382a7fdf57 /tccelf.c | |
| parent | c998985c744549292ba4abe077aee3950548b083 (diff) | |
| download | tinycc-f88350b611ed8f0c2f2798d752c3872764efc83c.tar.gz tinycc-f88350b611ed8f0c2f2798d752c3872764efc83c.tar.bz2 | |
fix some warning
Diffstat (limited to 'tccelf.c')
| -rw-r--r-- | tccelf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |
