* def.size in [1,2,4,8] goes wrong if def.size>255, fixed, resolves #8232

git-svn-id: trunk@6245 -
This commit is contained in:
florian 2007-01-28 18:06:51 +00:00
parent 0f9b9bb7de
commit 77b155ea79

View File

@ -172,7 +172,7 @@ unit cpupara;
begin
if target_info.system=system_x86_64_win64 then
result:=(calloption=pocall_safecall) or
not(def.size in [1,2,4,8])
(def.size>8) or not(def.size in [1,2,4,8])
else
result:=inherited ret_in_param(def,calloption);
end;