mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 21:49:09 +02:00
* also handle tc_int_2_int,tc_int_2_bool,tc_bool_2_int in
target_specific_general_typeconv() for enum type conversions git-svn-id: branches/jvmbackend@18628 -
This commit is contained in:
parent
815ab863b6
commit
460c7a519b
@ -664,7 +664,7 @@ implementation
|
|||||||
toarrtype: char;
|
toarrtype: char;
|
||||||
begin
|
begin
|
||||||
resnode:=nil;
|
resnode:=nil;
|
||||||
if convtype<>tc_equal then
|
if not(convtype in [tc_equal,tc_int_2_int,tc_int_2_bool,tc_bool_2_int]) then
|
||||||
begin
|
begin
|
||||||
result:=false;
|
result:=false;
|
||||||
exit
|
exit
|
||||||
|
Loading…
Reference in New Issue
Block a user