Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
132a718b
Commit
132a718b
authored
Dec 13, 2006
by
andy@galois.com
Browse files
fixing obvious typo in darwin_HOST_OS code (currently does not compile).
parent
e4c8d2b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/Linker.c
View file @
132a718b
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment