Uncaught error when moving to trunk. Thanks gdb.
authorArt Yerkes <art.yerkes@gmail.com>
Fri, 19 Oct 2007 07:47:21 +0000 (07:47 +0000)
committerArt Yerkes <art.yerkes@gmail.com>
Fri, 19 Oct 2007 07:47:21 +0000 (07:47 +0000)
svn path=/trunk/; revision=29673

reactos/boot/freeldr/freeldr/arch/powerpc/mboot.c

index 9967a46..b81f7b9 100644 (file)
@@ -635,6 +635,7 @@ FrLdrLoadModule(FILE *ModuleImage,
                 PULONG ModuleSize)
 {
     ULONG LocalModuleSize;
+    ULONG_PTR ThisModuleBase = NextModuleBase;
     PLOADER_MODULE ModuleData;
     LPSTR NameBuffer;
     LPSTR TempName;
@@ -682,7 +683,7 @@ FrLdrLoadModule(FILE *ModuleImage,
         *ModuleSize = LocalModuleSize;
     }
 
-    return NextModuleBase;
+    return ThisModuleBase;
 }
 
 PVOID