From 2d075eb1a8465541502f4b4c982f579914314e3f Mon Sep 17 00:00:00 2001 From: Jason Marechal Date: Tue, 3 Oct 2023 11:01:59 +0200 Subject: [PATCH] [Win] Use correct type for file size limit --- src/ext/yuni/src/yuni/io/file/file.h | 6 ++---- vcpkg | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/ext/yuni/src/yuni/io/file/file.h b/src/ext/yuni/src/yuni/io/file/file.h index 99bec063bad..2c33d97ce23 100644 --- a/src/ext/yuni/src/yuni/io/file/file.h +++ b/src/ext/yuni/src/yuni/io/file/file.h @@ -23,11 +23,9 @@ namespace IO namespace File { // constants -enum -{ //! The maximum allowed size for a file in memory (Default: 80Go) - sizeHardLimit = 85899345920u, // 80Mo = 80 * 1024 * 1024 * 1024 -}; +constexpr unsigned long long sizeHardLimit = 85899345920u; // 80Gb = 80 * 1024 * 1024 * 1024 + /*! ** \brief Test if a node exists and is actually a file diff --git a/vcpkg b/vcpkg index 501db0f17ef..15a0ab7a3e6 160000 --- a/vcpkg +++ b/vcpkg @@ -1 +1 @@ -Subproject commit 501db0f17ef6df184fcdbfbe0f87cde2313b6ab1 +Subproject commit 15a0ab7a3e62e62c29bc677589e8974fe401a436