Fix compilation error&warning
OptimusG color patch