From 277be6dd08633dbebfda93afdfc6b5cb57e053e0 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 8 Apr 2024 13:18:22 +0200 Subject: Use properly included standard library types by default --- src/utils/archive/archive_ops.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils/archive/archive_ops.cpp') diff --git a/src/utils/archive/archive_ops.cpp b/src/utils/archive/archive_ops.cpp index d8363b76..59b1d8a0 100644 --- a/src/utils/archive/archive_ops.cpp +++ b/src/utils/archive/archive_ops.cpp @@ -27,7 +27,7 @@ extern "C" { namespace { /// \brief Default block size for archive extraction. -constexpr size_t kArchiveBlockSize = 10240; +constexpr std::size_t kArchiveBlockSize = 10240; /// \brief Clean-up function for archive entry objects. void archive_entry_cleanup(archive_entry* entry) { @@ -120,7 +120,7 @@ auto ArchiveOps::CopyData(archive* ar, archive* aw) #ifndef BOOTSTRAP_BUILD_TOOL int r{}; const void* buff{nullptr}; - size_t size{}; + std::size_t size{}; la_int64_t offset{}; while (true) { -- cgit v1.2.3