On Thu Feb 27 15:51:49 2025 +0000, Bernhard Übelacker wrote:
changed this line in [version 2 of the diff](/wine/wine/-/merge_requests/7435/diffs?diff_id=160846&start_sha=7f12940badf820d2103b27a50d919ae21201486b#1a2fc38375b48458ba2fb34a2716bf76579d9527_3215_3215)
If I understand it right the intention seems to be to detect the case when `info != infos[i]`. And the result of the substraction seems to be just an integer type, therefore the addition increases just by bytes not sizeof(*infos). In case of i==0 it the version `info - infos + i` works, but not when info points to the second record in infos.
And yes, `info != infos + i` would make the intention clearer, so I pushed this version.