Commit d2ad5ead authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

glu32: Don't cast return value from HeapAlloc.

parent 460053b8
......@@ -4169,7 +4169,7 @@ static int gluBuild2DMipmapLevelsCore(GLenum target, GLint internalFormat,
case GL_UNSIGNED_INT_8_8_8_8_REV:
case GL_UNSIGNED_INT_10_10_10_2:
case GL_UNSIGNED_INT_2_10_10_10_REV:
dstImage = (GLuint *)HeapAlloc(GetProcessHeap(), 0, memreq);
dstImage = HeapAlloc(GetProcessHeap(), 0, memreq);
break;
default:
return GLU_INVALID_ENUM;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment