C-style cast cleanup.
This commit is contained in:
parent
8b08cf6bdf
commit
994a6a0c19
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue