Skip to content

Commit

Permalink
Fix a clang build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Newton committed Oct 18, 2023
1 parent f652a4f commit 26d425e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/src/arrow/filesystem/azurefs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ class ObjectInputFile final : public io::RandomAccessFile {

// Read the desired range of bytes
Azure::Core::Http::HttpRange range{position, nbytes};
Azure::Storage::Blobs::DownloadBlobToOptions download_options{range};
Azure::Storage::Blobs::DownloadBlobToOptions download_options;
download_options.Range = range;
try {
return blob_client_
->DownloadTo(reinterpret_cast<uint8_t*>(out), nbytes, download_options)
Expand Down

0 comments on commit 26d425e

Please sign in to comment.