* kill warnings about non-longint code parameters with val()

which popped up again after yesterday's patches to the
    potential range error warnings

git-svn-id: trunk@2508 -
This commit is contained in:
Jonas Maebe 2006-02-10 10:08:07 +00:00
parent e422ddbca3
commit cd70b38e8b

View File

@ -1060,7 +1060,8 @@ implementation
if assigned(orgcode) then
addstatement(newstatement,cassignmentnode.create(
orgcode,
ctemprefnode.create(tempcode)));
ctypeconvnode.create_internal(
ctemprefnode.create(tempcode),orgcode.resulttype)));
{ release the temp if we allocated one }
if assigned(tempcode) then