Warning fix in CCDeprecated.cpp and CCGLProgramState.h
Merge pull request #6671 from dumganhar/deprecate-cpp-warning-fix

Warning fix in CCDeprecated.cpp and CCGLProgramState.h