From 9fac5d74dcef2e78b21c8500589ea9f8cf263fb3 Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Wed, 16 Jan 2013 22:52:21 +0100 Subject: [PATCH] Fixed minor typecast warning in Shader.cpp --- src/SFML/Graphics/Shader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Graphics/Shader.cpp b/src/SFML/Graphics/Shader.cpp index c9654359e..a71e586b0 100644 --- a/src/SFML/Graphics/Shader.cpp +++ b/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(size)); file.read(&buffer[0], size); } buffer.push_back('\0');