* adjust signature of variant managers olevarfromint so that 64-bit values can be passed as well (as was probably intended originally)

git-svn-id: trunk@41570 -
This commit is contained in:
svenbarth 2019-03-03 14:50:05 +00:00
parent 2430174213
commit 07b1a3d211
2 changed files with 2 additions and 2 deletions

View File

@ -2488,7 +2488,7 @@ begin
DoOleVarFromVar(TVarData(aDest), TVarData(aSource));
end;
procedure sysolevarfromint(var Dest : olevariant; const Source : LongInt; const range : ShortInt);
procedure sysolevarfromint(var Dest : olevariant; const Source : Int64; const range : ShortInt);
begin
DoVarClearIfComplex(TVarData(Dest));
with TVarData(Dest) do begin

View File

@ -186,7 +186,7 @@ type
olevarfrompstr: procedure(var dest : olevariant; const source : shortstring);
olevarfromlstr: procedure(var dest : olevariant; const source : ansistring);
olevarfromvar: procedure(var dest : olevariant; const source : variant);
olevarfromint: procedure(var dest : olevariant; const source : longint;const range : shortint);
olevarfromint: procedure(var dest : olevariant; const source : int64;const range : shortint);
{ operators }
varop : procedure(var left : variant;const right : variant;opcode : tvarop);