* fixed compilation after r25847 (mantis #25237)

git-svn-id: trunk@25870 -
This commit is contained in:
Jonas Maebe 2013-10-27 17:35:04 +00:00
parent 353c15fb34
commit c693a91e18
2 changed files with 2 additions and 2 deletions

View File

@ -1083,7 +1083,7 @@ implementation
but do not allow records to be directly typecasted into class/
pointer types (you have to use FpcBaseRecordType(@rec) instead) }
if not is_record(fromdef) and
is_related(fromdef,todef) then
def_is_related(fromdef,todef) then
exit;
if check_type_equality(fromdef,todef) then
exit;

View File

@ -55,7 +55,7 @@ implementation
uses
verbose,globals,systems,globtype,constexp,
symconst,symdef,symsym,aasmtai,aasmdata,aasmcpu,defutil,jvmdef,
symconst,symdef,symsym,aasmtai,aasmdata,aasmcpu,defutil,jvmdef,defcmp,
procinfo,cgbase,pass_1,pass_2,parabase,
cpubase,cpuinfo,
nbas,nld,ncon,ncnv,