Skip to content

Commit

Permalink
fixing obvious typo in darwin_HOST_OS code (currently does not compile).
Browse files Browse the repository at this point in the history
  • Loading branch information
andy@galois.com committed Dec 13, 2006
1 parent e4c8d2b commit 132a718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rts/Linker.c
Expand Up @@ -1286,7 +1286,7 @@ loadObj( char *path )
// reading the file, and then we misalign oc->image on purpose so
// that the actual sections end up aligned again.
oc->misalignment = machoGetMisalignment(f);
oc->image = stgMallocBytes(oc->fileSize + misalignment, "loadObj(image)");
oc->image = stgMallocBytes(oc->fileSize + oc->misalignment, "loadObj(image)");
# else
oc->image = stgMallocBytes(oc->fileSize, "loadObj(image)");
# endif
Expand Down

0 comments on commit 132a718

Please sign in to comment.