C-style cast cleanup.

This commit is contained in:
Mark de Wever 2007-08-26 17:42:44 +00:00
parent 8b08cf6bdf
commit 994a6a0c19

View file

@ -154,7 +154,7 @@ void set_gamma(int gamma)
if(adjust_gamma()) {
CVideo& video = disp->video();
video.setGamma((float)gamma / 100);
video.setGamma(static_cast<float>(gamma) / 100);
}
}