Explorar el Código

* make framecount and framebufsize dependent on the pointer size

git-svn-id: trunk@47030 -
florian hace 5 años
padre
commit
af20b064ed
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      rtl/inc/except.inc

+ 2 - 2
rtl/inc/except.inc

@@ -91,7 +91,7 @@ var
   Newobj : PExceptObject;
   _ExceptObjectStack : ^PExceptObject;
   framebufsize,
-  framecount  : longint;
+  framecount  : PtrInt;
   frames      : PCodePointer;
   prev_frame,
   curr_frame  : Pointer;
@@ -113,8 +113,8 @@ begin
   curr_frame:=AFrame;
   curr_addr:=AnAddr;
   frames:=nil;
-  framebufsize:=0;
   framecount:=0;
+  framebufsize:=0;
   { The frame pointer of this procedure is used as initial stack bottom value. }
   prev_frame:=get_frame;
   while (framecount<RaiseMaxFrameCount) and (curr_frame > prev_frame) and