[PATCH vkd3d] vkd3d: Fix misplaced parenthesis.

Conor McCarthy conor.mccarthy.444 at gmail.com
Wed Dec 15 19:32:43 CST 2021


On Thu, Dec 16, 2021 at 5:30 AM Andrey Gusev <andrey.goosev at gmail.com>
wrote:

> -        if ((unbounded = descriptor_count == UINT_MAX))
> +        if ((unbounded = descriptor_count) == UINT_MAX)
>
>
'unbounded' is a bool, so we do in fact want to assign it the value of
descriptor_count == UINT_MAX, though for clarity it could use extra
parentheses around the condition.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20211216/0bdd2095/attachment.htm>


More information about the wine-devel mailing list