Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed minor typecast warning in Shader.cpp

  • Loading branch information...
commit 9fac5d74dcef2e78b21c8500589ea9f8cf263fb3 1 parent 91e1743
@LaurentGomila LaurentGomila authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/SFML/Graphics/Shader.cpp
View
2  src/SFML/Graphics/Shader.cpp
@@ -56,7 +56,7 @@ namespace
if (size > 0)
{
file.seekg(0, std::ios_base::beg);
- buffer.resize(size);
+ buffer.resize(static_cast<std::size_t>(size));
file.read(&buffer[0], size);
}
buffer.push_back('\0');
Please sign in to comment.
Something went wrong with that request. Please try again.