Commit 132a718b authored by andy@galois.com's avatar andy@galois.com
Browse files

fixing obvious typo in darwin_HOST_OS code (currently does not compile).

parent e4c8d2b1
...@@ -1286,7 +1286,7 @@ loadObj( char *path ) ...@@ -1286,7 +1286,7 @@ loadObj( char *path )
// reading the file, and then we misalign oc->image on purpose so // reading the file, and then we misalign oc->image on purpose so
// that the actual sections end up aligned again. // that the actual sections end up aligned again.
oc->misalignment = machoGetMisalignment(f); oc->misalignment = machoGetMisalignment(f);
oc->image = stgMallocBytes(oc->fileSize + misalignment, "loadObj(image)"); oc->image = stgMallocBytes(oc->fileSize + oc->misalignment, "loadObj(image)");
# else # else
oc->image = stgMallocBytes(oc->fileSize, "loadObj(image)"); oc->image = stgMallocBytes(oc->fileSize, "loadObj(image)");
# endif # endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment