OpenGL doesn't do any type conversions for you, and SFML no longer does either. If you use a float type in your GLSL, you will be expected to pass it a float in your code as well. If you don't have any floats lying around, you will have to static_cast<> your data to floats yourself.