ddraw: Avoid LPBYTE.

This commit is contained in:
Henri Verbeet 2013-09-11 08:47:52 +02:00 committed by Alexandre Julliard
parent 87ef65ab7b
commit 73a0327487
2 changed files with 2 additions and 2 deletions

View File

@ -306,7 +306,7 @@ struct d3d_device
DWORD vertex_type;
DWORD render_flags;
DWORD nb_vertices;
LPBYTE sysmem_vertex_buffer;
BYTE *sysmem_vertex_buffer;
DWORD vertex_size;
DWORD buffer_size;

View File

@ -860,7 +860,7 @@ BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, void *reserved)
DWORD type, data, size;
size = sizeof(data);
if (!RegQueryValueExA( hkey, "ForceRefreshRate", NULL, &type, (LPBYTE)&data, &size ) && type == REG_DWORD)
if (!RegQueryValueExA(hkey, "ForceRefreshRate", NULL, &type, (BYTE *)&data, &size) && type == REG_DWORD)
{
TRACE("ForceRefreshRate set; overriding refresh rate to %d Hz\n", data);
force_refresh_rate = data;