Browse Source

* fixed the passing of extended floating type parameters on i8086 for
pocall_register after r24761 (it is the same change as in r24766, but for
pocall_register)

git-svn-id: trunk@27709 -

nickysn 11 years ago
parent
commit
3dfc6ac7e1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/i8086/cpupara.pas

+ 2 - 2
compiler/i8086/cpupara.pas

@@ -695,8 +695,8 @@ unit cpupara;
                                     end
                                     end
                                   else
                                   else
                                     begin
                                     begin
-                                      { We can allocate at maximum 32 bits per location }
-                                      if paralen>sizeof(aint) then
+                                      { We can allocate at maximum 16 bits per location }
+                                      if paralen>=sizeof(aint) then
                                         begin
                                         begin
                                           l:=sizeof(aint);
                                           l:=sizeof(aint);
                                           paraloc^.def:=uinttype;
                                           paraloc^.def:=uinttype;