mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 01:06:02 +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
|
if tsetdef(resulttype.def).settype=smallset then
|
||||||
begin
|
begin
|
||||||
location_reset(location,LOC_CONSTANT,OS_32);
|
location_reset(location,LOC_CONSTANT,OS_32);
|
||||||
location.value:=PAInt(value_set)^;
|
location.value:=pLongint(value_set)^;
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
location_reset(location,LOC_CREFERENCE,OS_NO);
|
location_reset(location,LOC_CREFERENCE,OS_NO);
|
||||||
|
Loading…
Reference in New Issue
Block a user