On Mon Apr 3 08:19:01 2023 +0000, Mohamad Al-Jaf wrote:
changed this line in [version 2 of the diff](/wine/wine/-/merge_requests/2559/diffs?diff_id=40279&start_sha=89ba470d84231dbdbbe4c734cbe0c3c5e30c9314#492b92cda3894bf22ea547a8673a16139f4127e7_1018_1012)
The code you gave doesn't build, it results in a `Segmentation fault (core dumped)` error because the function `type_get_type` and subsequently the function it forwards to don't check if the parameter is NULL or not. I wasn't sure if modifying the helper function was the right way to go so I just added an if statement prior to checking the type.