Skip to content

Commit

Permalink
Add missing casts
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Nov 28, 2024
1 parent 1d689df commit f1309bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions overlays/patches/ghc/ghc-9.6-missing-symbols-deadbeef.patch
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ index 4d0c978..96a9d60 100644
symbol->name);
- return EXIT_FAILURE;
+ // return EXIT_FAILURE;
+ symbol->addr = 0xDEADBEEF;
+ symbol->addr = (void*)0xDEADBEEF;
}
}
} else {
Expand All @@ -20,7 +20,7 @@ index 2356818..727e845 100644
"See top entry above.\n", lbl);
IF_DEBUG(linker, printLoadedObjects());
fflush(stderr);
+ r = 0xDEADBEEF;
+ r = (void*)0xDEADBEEF;
}

if (!runPendingInitializers()) {

0 comments on commit f1309bb

Please sign in to comment.