Skip to content

Commit

Permalink
[Win] Use correct type for file size limit
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMarechal committed Oct 3, 2023
1 parent dfe1414 commit 2d075eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions src/ext/yuni/src/yuni/io/file/file.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion vcpkg
Submodule vcpkg updated 6914 files

0 comments on commit 2d075eb

Please sign in to comment.