On Wed Nov 30 11:43:44 2022 +0000, Jan Sikorski wrote:
I'm getting a bunch of warnings in this file: wine/dlls/wined3d/query.c:1749:19: warning: initialization of ‘BOOL (*)(struct wined3d_query *, DWORD)’ {aka ‘int (*)(struct wined3d_query *, long unsigned int)’} from incompatible pointer type ‘BOOL (*)(struct wined3d_query *, uint32_t)’ {aka ‘int (*)(struct wined3d_query *, unsigned int)’} [-Wincompatible-pointer-types] Probably we could just change flags in wined3d_query_ops to be uint32_t everywhere before this commit?
This compiles without warnings here...
from query.c:1603: ``` static BOOL wined3d_query_vk_poll(struct wined3d_query *query, uint32_t flags) ```
from wined3d_private.h:2037 ``` BOOL (*query_poll)(struct wined3d_query *query, uint32_t flags); ```
which should be just fine. the flags' type of these methods has been changed in second commit's of MR!1536 (which is now merged)