diff options
author | rsc <devnull@localhost> | 2006-04-20 21:37:15 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-20 21:37:15 +0000 |
commit | 35afcc6c772f327cb612286430534281918e74f9 (patch) | |
tree | fd87860a58b0e89b0613e9a7d16836df0cf71bdf /src/libmach | |
parent | 8c7b4c825f3630947fd3c715ba1325761b12b54d (diff) | |
download | plan9port-35afcc6c772f327cb612286430534281918e74f9.tar.gz plan9port-35afcc6c772f327cb612286430534281918e74f9.tar.bz2 plan9port-35afcc6c772f327cb612286430534281918e74f9.zip |
warning
Diffstat (limited to 'src/libmach')
-rw-r--r-- | src/libmach/elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |