Explorar el Código

* procvar fixes

peter hace 26 años
padre
commit
fcd419b84a
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      tests/tbs0105.pp
  2. 1 1
      tests/tbs0249.pp

+ 1 - 1
tests/tbs0105.pp

@@ -22,7 +22,7 @@ Var
  Sel: Word;
  v: longint;
 Begin
- Signal(SIGSEGV,signalhandler(our_sig));
+ Signal(SIGSEGV,signalhandler(@our_sig));
  v:=$00ffffff;
  Sel:=word(v);
  writeln(sel);

+ 1 - 1
tests/tbs0249.pp

@@ -55,6 +55,6 @@ begin
   Dummy := TDummy.Create;
   Host := THost.Create;
   with Host,Dummy do
-    OnEvent := HandleEvent; // this is 57, 27 is ";"
+    OnEvent := @HandleEvent; // this is 57, 27 is ";"
   Host.Trigger;
 end.