From 73a0327487a9cc5ee3a92c74da8d8a120fb7a0be Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 11 Sep 2013 08:47:52 +0200 Subject: [PATCH] ddraw: Avoid LPBYTE. --- dlls/ddraw/ddraw_private.h | 2 +- dlls/ddraw/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/ddraw/ddraw_private.h b/dlls/ddraw/ddraw_private.h index 575c58f9dc0..44933d32f2a 100644 --- a/dlls/ddraw/ddraw_private.h +++ b/dlls/ddraw/ddraw_private.h @@ -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; diff --git a/dlls/ddraw/main.c b/dlls/ddraw/main.c index 0c6b88e9f5d..79033fc945b 100644 --- a/dlls/ddraw/main.c +++ b/dlls/ddraw/main.c @@ -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;