aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Lighting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/Lighting.cpp')
-rw-r--r--Minecraft.Client/Lighting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.Client/Lighting.cpp b/Minecraft.Client/Lighting.cpp
index 50529d51..ef9feaa1 100644
--- a/Minecraft.Client/Lighting.cpp
+++ b/Minecraft.Client/Lighting.cpp
@@ -44,7 +44,7 @@ void Lighting::turnOn()
FloatBuffer *Lighting::getBuffer(double a, double b, double c, double d)
{
- return getBuffer((float) a, (float) b, (float) c, (float) d);
+ return getBuffer(static_cast<float>(a), static_cast<float>(b), static_cast<float>(c), static_cast<float>(d));
}
FloatBuffer *Lighting::getBuffer(float a, float b, float c, float d)