* fix wrong typecast for smallset

git-svn-id: trunk@1147 -
This commit is contained in:
peter 2005-09-20 13:51:17 +00:00
parent 64dd758281
commit 32fa578b58

View File

@ -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);