glu32: Don't cast return value from HeapAlloc.

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
André Hentschel 2018-01-02 12:54:26 +01:00 committed by Alexandre Julliard
parent 460053b8fc
commit d2ad5ead32
1 changed files with 1 additions and 1 deletions

View File

@ -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;