issue #2284: use GLuint to fix compiling error