mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-22 09:45:22 +02:00
* use explicit typecast when generating the high value
This commit is contained in:
parent
39a6c7db45
commit
9168d87b35
@ -279,7 +279,8 @@ type
|
||||
begin
|
||||
if not assigned(hightree) then
|
||||
internalerror(200304071);
|
||||
hightree:=ctypeconvnode.create(hightree,s32bittype);
|
||||
{ Need to use explicit, because it can also be a enum }
|
||||
hightree:=ctypeconvnode.create_explicit(hightree,s32bittype);
|
||||
end;
|
||||
result:=hightree;
|
||||
end;
|
||||
@ -2595,7 +2596,10 @@ begin
|
||||
end.
|
||||
{
|
||||
$Log$
|
||||
Revision 1.203 2003-10-31 15:52:58 peter
|
||||
Revision 1.204 2003-11-01 16:17:48 peter
|
||||
* use explicit typecast when generating the high value
|
||||
|
||||
Revision 1.203 2003/10/31 15:52:58 peter
|
||||
* support creating classes using <class of tobject>.create
|
||||
|
||||
Revision 1.202 2003/10/30 16:23:13 peter
|
||||
|
Loading…
Reference in New Issue
Block a user