diff --git a/lib/FFI/Probe.pm b/lib/FFI/Probe.pm index 15bdaaff..06ef3c6f 100644 --- a/lib/FFI/Probe.pm +++ b/lib/FFI/Probe.pm @@ -454,7 +454,7 @@ sub check_type_float return unless $ret; my $size = $self->data->{type}->{$type}->{size}; - my $complex = !!$type =~ /complex/; + my $complex = !!($type =~ /complex/); if($complex) { $size /= 2;