diff options
Diffstat (limited to 'src/SFML/System/Err.cpp')
-rw-r--r-- | src/SFML/System/Err.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SFML/System/Err.cpp b/src/SFML/System/Err.cpp index d186931..89d37a1 100644 --- a/src/SFML/System/Err.cpp +++ b/src/SFML/System/Err.cpp @@ -1,7 +1,7 @@ //////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library -// Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org) +// Copyright (C) 2007-2023 Laurent Gomila (laurent@sfml-dev.org) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from the use of this software. @@ -83,7 +83,7 @@ private: if (pbase() != pptr()) { // Print the contents of the write buffer into the standard error output - std::size_t size = static_cast<int>(pptr() - pbase()); + std::size_t size = static_cast<std::size_t>(pptr() - pbase()); fwrite(pbase(), 1, size, stderr); // Reset the pointer position to the beginning of the write buffer |