From 7febe31926bfdc9813d0348633f4bcbc04ae8fad Mon Sep 17 00:00:00 2001 From: Stephan Lachnit Date: Wed, 17 Dec 2025 16:15:00 +0100 Subject: [PATCH] [C++] Fix compilation warning on 32-bit architectures with zstd --- lang/c++/impl/DataFile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/c++/impl/DataFile.cc b/lang/c++/impl/DataFile.cc index 5bf27c1ab7c..c9b9c8420e9 100644 --- a/lang/c++/impl/DataFile.cc +++ b/lang/c++/impl/DataFile.cc @@ -489,7 +489,7 @@ void DataFileReaderBase::readDataBlock() { } // Get the decompressed size - size_t decompressed_size = ZSTD_getFrameContentSize( + unsigned long long decompressed_size = ZSTD_getFrameContentSize( reinterpret_cast(compressed_.data()), compressed_.size()); if (decompressed_size == ZSTD_CONTENTSIZE_ERROR) { throw Exception("ZSTD: Not a valid compressed frame");