Jacek Caban (@jacek) commented about dlls/winevulkan/vulkan.c:
#include "vulkan_private.h" #include "wine/vulkan_driver.h" +#include "wine/rbtree.h" #include "ntgdi.h" #include "ntuser.h"
WINE_DEFAULT_DEBUG_CHANNEL(vulkan);
+static int window_surface_compare(const void *key, const struct rb_entry *entry) +{
- const struct wine_surface *surface = RB_ENTRY_VALUE(entry, struct wine_surface, window_entry);
- HWND key_hwnd = (HWND)key;
HWND is a void pointer, there is no need for the cast (nor the variable).