Skip to content

Commit

Permalink
Fixing missing () in File.pm
Browse files Browse the repository at this point in the history
  • Loading branch information
fpl authored Sep 22, 2023
1 parent 1e6def6 commit 82eac25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Geo/GDAL/FFI/VSI/File.pm
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ sub Write {
my ($self, $buf) = @_;
my $len = do {use bytes; length($buf)};
my $ffi = FFI::Platypus->new();
my $address = $ffi->cast 'string' => 'opaque', $buf;
my $address = $ffi->cast('string' => 'opaque', $buf);
return Geo::GDAL::FFI::VSIFWriteL($address, 1, $len, $self->{handle});
}

Expand Down

0 comments on commit 82eac25

Please sign in to comment.