Page MenuHomeFreeBSD

D26200.diff
No OneTemporary

D26200.diff

Index: head/stand/efi/loader/copy.c
===================================================================
--- head/stand/efi/loader/copy.c
+++ head/stand/efi/loader/copy.c
@@ -290,8 +290,8 @@
* translation still works.
*/
staging_base = addr;
- memmove((void *)staging_base, (void *)staging,
- staging_end - staging);
+ memmove((void *)(uintptr_t)staging_base,
+ (void *)(uintptr_t)staging, staging_end - staging);
stage_offset -= (staging - staging_base);
staging = staging_base;
return (true);

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 8, 5:17 AM (29 m, 25 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29385109
Default Alt Text
D26200.diff (526 B)

Event Timeline