From: Ian Lynagh Date: Wed, 31 Jan 2007 12:01:53 +0000 (+0000) Subject: Fix typo causing the PowerPC OS X build to fail X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=8d832d5132c89660e4bac807785008b7280d401a Fix typo causing the PowerPC OS X build to fail --- diff --git a/rts/Linker.c b/rts/Linker.c index 789093d..79febe7 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -1324,7 +1324,7 @@ loadObj( char *path ) // that the actual sections end up aligned again. oc->misalignment = machoGetMisalignment(f); oc->image = stgMallocBytes(oc->fileSize + oc->misalignment, "loadObj(image)"); - oc->image += misalignment; + oc->image += oc->misalignment; # else oc->image = stgMallocBytes(oc->fileSize, "loadObj(image)"); # endif