Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157673635
D11067.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
457 B
Referenced Files
None
Subscribers
None
D11067.id.diff
View Options
Index: usr.bin/elf2aout/elf2aout.c
===================================================================
--- usr.bin/elf2aout/elf2aout.c
+++ usr.bin/elf2aout/elf2aout.c
@@ -126,7 +126,7 @@
entry = xe64toh(e->e_entry);
phoff = xe64toh(e->e_phoff);
phnum = xe16toh(e->e_phnum);
- p = (Elf64_Phdr *)((char *)e + phoff);
+ p = (Elf64_Phdr *)(void*)((char *)e + phoff);
bzero(&a, sizeof(a));
for (i = 0; i < phnum; i++) {
type = xe32toh(p[i].p_type);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, May 24, 11:15 PM (3 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33489548
Default Alt Text
D11067.id.diff (457 B)
Attached To
Mode
D11067: usr.bin/elf2aout build warning fix
Attached
Detach File
Event Timeline
Log In to Comment