* don't pass property as var-parameter to val()

git-svn-id: trunk@20137 -
This commit is contained in:
Jonas Maebe 2012-01-21 16:54:57 +00:00
parent d01824ab22
commit 6432c82c01

View File

@ -1618,7 +1618,7 @@ implementation
objsym : TObjSymbol;
exesym : TExeSymbol;
begin
val(avalue,ImageBase,code);
val(avalue,FImageBase,code);
if code<>0 then
Comment(V_Error,'Invalid number '+avalue);
{ Create __image_base__ symbol, create the symbol