Static Cast RGBA Values to Avoid Compiler Warnings

This patch just adds static_cast to avoid compiler conversion warnings.