explicit casting, removes warnings

This commit is contained in:
Lars Doucet
2017-03-22 15:44:29 -05:00
committed by Joshua Granick
parent 75bdc7e248
commit 580946913a
2 changed files with 10 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ namespace lime {
for (int i = 0; i < 256; i++) {
__alpha16[i] = ceil ((float)(i + 1) * ((1 << 16) / 0xFF));
__alpha16[i] = (int) ceil ((float)(i + 1) * ((1 << 16) / 0xFF));
}