From 8d832d5132c89660e4bac807785008b7280d401a Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Wed, 31 Jan 2007 12:01:53 +0000 Subject: [PATCH] Fix typo causing the PowerPC OS X build to fail --- rts/Linker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4