Skip to content

Commit c50396c

Browse files
committed
Change kMaxBlockSizeBytes to Long Long for cross platform compatibility
1 parent 7754f6d commit c50396c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/src/arrow/filesystem/azurefs.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ Status StageBlock(Blobs::BlockBlobClient* block_blob_client, const std::string&
970970
/// Writes will be buffered up to this size (in bytes) before actually uploading them.
971971
static constexpr int64_t kBlockUploadSizeBytes = 10 * 1024 * 1024;
972972
/// The maximum size of a block in Azure Blob (as per docs).
973-
static constexpr int64_t kMaxBlockSizeBytes = 4UL * 1024 * 1024 * 1024;
973+
static constexpr int64_t kMaxBlockSizeBytes = 4LL * 1024 * 1024 * 1024;
974974

975975
/// This output stream, similar to other arrow OutputStreams, is not thread-safe.
976976
class ObjectAppendStream final : public io::OutputStream {

0 commit comments

Comments
 (0)