LazReport, fix compilation win 64, issue #12798

git-svn-id: trunk@17834 -
This commit is contained in:
jesus 2008-12-14 18:27:04 +00:00
parent 7c793d4f5b
commit 993bd7b87d

View File

@ -7344,7 +7344,7 @@ begin
case f1 of
fmtText:
begin
if VarIsType(v, varDate) and (trunc(v)=0) then
if VarIsType(v, varDate) and (trunc(Extended(v))=0) then
Result := TimeToStr(v)
else
Result := v;