From: Eric Pouech <eric.pouech(a)gmail.com> --- dlls/wined3d/cs.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dlls/wined3d/cs.c b/dlls/wined3d/cs.c index 0f63d118ebc..9d2eff6d9b6 100644 --- a/dlls/wined3d/cs.c +++ b/dlls/wined3d/cs.c @@ -1,4 +1,3 @@ -#define WINE_NO_LONG_TYPES /* temporary */ /* * Copyright 2013 Henri Verbeet for CodeWeavers * @@ -3194,8 +3193,8 @@ static void *wined3d_cs_queue_require_space(struct wined3d_cs_queue *queue, size if (new_pos < tail && new_pos) break; - TRACE("Waiting for free space. Head %u, tail %u, packet size %lu.\n", - head, tail, (unsigned long)packet_size); + TRACE("Waiting for free space. Head %lu, tail %lu, packet size %Iu.\n", + head, tail, packet_size); } packet = (struct wined3d_cs_packet *)&queue->data[head]; @@ -4409,7 +4408,7 @@ ULONG CDECL wined3d_command_list_incref(struct wined3d_command_list *list) { ULONG refcount = InterlockedIncrement(&list->refcount); - TRACE("%p increasing refcount to %u.\n", list, refcount); + TRACE("%p increasing refcount to %lu.\n", list, refcount); return refcount; } @@ -4421,7 +4420,7 @@ ULONG CDECL wined3d_command_list_decref(struct wined3d_command_list *list) const struct wined3d_cs_packet *packet; SIZE_T i, offset; - TRACE("%p decreasing refcount to %u.\n", list, refcount); + TRACE("%p decreasing refcount to %lu.\n", list, refcount); if (!refcount) { -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/1612