From 35afcc6c772f327cb612286430534281918e74f9 Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 20 Apr 2006 21:37:15 +0000 Subject: warning --- src/libmach/elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libmach') diff --git a/src/libmach/elf.c b/src/libmach/elf.c index 2e5e290f..72c0bd3e 100644 --- a/src/libmach/elf.c +++ b/src/libmach/elf.c @@ -310,7 +310,7 @@ unpacksect(ElfHdr *h, ElfSect *s, ElfSectBytes *b) u32int (*e4)(uchar*); e4 = h->e4; - s->name = (char*)e4(b->name); + s->name = (char*)(uintptr)e4(b->name); s->type = e4(b->type); s->flags = e4(b->flags); s->addr = e4(b->addr); -- cgit v1.2.3