Browse Source

* only use calling conventions supported on all platforms

git-svn-id: trunk@12942 -
Jonas Maebe 16 years ago
parent
commit
0e6f9dc688
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/webtbs/tw12985.pp

+ 2 - 2
tests/webtbs/tw12985.pp

@@ -5,11 +5,11 @@
   convention mismatch when parsing the actual definition
 }
 
-{$calling register}
+{$calling cdecl}
 function test(l1,l2: longint): longint; forward;
 {$calling stdcall}
 
-function test(l1,l2: longint): longint; register;
+function test(l1,l2: longint): longint; cdecl;
 begin
 end;