Commit 0c68dde6 authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Fix int/long type mismatches.

parent c937155f
......@@ -550,7 +550,7 @@ BOOL X11DRV_UpdateDisplayDevices( const struct gdi_device_manager *device_manage
INT gpu_count, adapter_count, monitor_count;
INT gpu, adapter, monitor;
DEVMODEW *modes, *mode;
DWORD mode_count;
UINT mode_count;
if (!force && !force_display_devices_refresh) return TRUE;
force_display_devices_refresh = FALSE;
......
......@@ -182,7 +182,7 @@ HWND *build_hwnd_list(void)
{
NTSTATUS status;
HWND *list;
UINT count = 128;
ULONG count = 128;
for (;;)
{
......
......@@ -1150,7 +1150,7 @@ NTSTATUS CDECL X11DRV_D3DKMTOpenAdapterFromLuid( D3DKMT_OPENADAPTERFROMLUID *des
VkPhysicalDevice *vk_physical_devices = NULL;
VkPhysicalDeviceProperties2 properties2;
NTSTATUS status = STATUS_UNSUCCESSFUL;
DWORD device_count, device_idx = 0;
UINT device_count, device_idx = 0;
struct x11_d3dkmt_adapter *adapter;
VkInstanceCreateInfo create_info;
VkPhysicalDeviceIDProperties id;
......
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