From f67eb55c3ed70b6922cac681b5102e1c9a2f3185 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 9 May 2025 02:34:35 +0200 Subject: Attempt to fix windows-32 build. --- src/lib/scp_uploader.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/scp_uploader.cc b/src/lib/scp_uploader.cc index faf482a43..193894293 100644 --- a/src/lib/scp_uploader.cc +++ b/src/lib/scp_uploader.cc @@ -125,7 +125,7 @@ LIBDCP_ENABLE_WARNINGS std::vector buffer(64 * 1024); while (to_do > 0) { - int const t = min(to_do, buffer.size()); + int const t = min(to_do, static_cast(buffer.size())); size_t const read = f.read(buffer.data(), 1, t); if (read != size_t(t)) { throw ReadFileError(from); -- cgit v1.2.3