wined3d: Remove superfluous casts of void pointers to other pointer types.

This commit is contained in:
Michael Stefaniuc 2007-06-27 00:13:32 +02:00 committed by Alexandre Julliard
parent b700e63d55
commit 0326da9dd5
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ void print_glsl_info_log(WineD3D_GL_Info *gl_info, GLhandleARB obj) {
* that if there are errors. */
if (infologLength > 1)
{
infoLog = (char *)HeapAlloc(GetProcessHeap(), 0, infologLength);
infoLog = HeapAlloc(GetProcessHeap(), 0, infologLength);
GL_EXTCALL(glGetInfoLogARB(obj, infologLength, NULL, infoLog));
FIXME("Error received from GLSL shader #%u: %s\n", obj, debugstr_a(infoLog));
HeapFree(GetProcessHeap(), 0, infoLog);

View File

@ -1871,7 +1871,7 @@ static BOOL palette9_changed(IWineD3DSurfaceImpl *This) {
return FALSE;
}
} else {
This->palette9 = (PALETTEENTRY *) HeapAlloc(GetProcessHeap(), 0, sizeof(PALETTEENTRY) * 256);
This->palette9 = HeapAlloc(GetProcessHeap(), 0, sizeof(PALETTEENTRY) * 256);
}
memcpy(This->palette9, &device->palettes[device->currentPalette], sizeof(PALETTEENTRY) * 256);
return TRUE;