twarning - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 35afcc6c772f327cb612286430534281918e74f9
(DIR) parent 8c7b4c825f3630947fd3c715ba1325761b12b54d
(HTM) Author: rsc <devnull@localhost>
Date: Thu, 20 Apr 2006 21:37:15 +0000
warning
Diffstat:
M src/libmach/elf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/libmach/elf.c b/src/libmach/elf.c
t@@ -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);