mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 07:19:26 +02:00
* fix wrong typecast for smallset
git-svn-id: trunk@1147 -
This commit is contained in:
parent
64dd758281
commit
32fa578b58
@ -616,7 +616,7 @@ implementation
|
||||
if tsetdef(resulttype.def).settype=smallset then
|
||||
begin
|
||||
location_reset(location,LOC_CONSTANT,OS_32);
|
||||
location.value:=PAInt(value_set)^;
|
||||
location.value:=pLongint(value_set)^;
|
||||
exit;
|
||||
end;
|
||||
location_reset(location,LOC_CREFERENCE,OS_NO);
|
||||
|
Loading…
Reference in New Issue
Block a user