[PATCH v3 0/9] MR272: d3dx10: Add D3DX10CreateThreadPump implementation.

Matteo Bruni (@Mystral) wine at gitlab.winehq.org
Tue Jun 21 03:01:56 CDT 2022


Matteo Bruni (@Mystral) commented about dlls/d3dx10_43/d3dx10_43_main.c:
>  {
>      struct thread_pump *thread_pump = impl_from_ID3DX10ThreadPump(iface);
>      ULONG refcount = InterlockedDecrement(&thread_pump->refcount);
> +    struct work_item *iter, *next;
> +    struct list list;
> +    int i;
We generally prefer using "unsigned int" for loop counter variables (assuming there is no reason to prefer a signed integer here).

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/272#note_2435



More information about the wine-devel mailing list