diff --git a/src/SFML/System/Err.cpp b/src/SFML/System/Err.cpp index 828d022b6..b15d4aa5b 100644 --- a/src/SFML/System/Err.cpp +++ b/src/SFML/System/Err.cpp @@ -85,7 +85,7 @@ private: { // Print the contents of the write buffer into the standard error output const auto size = static_cast(pptr() - pbase()); - fwrite(pbase(), 1, size, stderr); + std::fwrite(pbase(), 1, size, stderr); // Reset the pointer position to the beginning of the write buffer setp(pbase(), epptr());