<div dir="ltr">Hi,<div><br></div><div>Okay, I've submitted a revision. I tried my best to fix the issue on my own but to no avail.</div><div><br></div><div>To everyone who's participated in this discussion, thank you all for the help.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 19, 2022 at 8:24 AM Giovanni Mascellani <<a href="mailto:gmascellani@codeweavers.com">gmascellani@codeweavers.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Il 19/01/22 01:59, Mohamad Al-Jaf ha scritto:<br>
> Thanks, it does make it easier and more readable. Doing this causes no <br>
> warnings:<br>
> <br>
>      char *cur;<br>
>      char *ret;<br>
> <br>
>      cur = (char*)&test_CurrentIP;<br>
>      ret = (char*)CurrentIP();<br>
<br>
This looks fine to me.<br>
<br>
> Removing WINAPI from the declaration allows it to compile:<br>
> <br>
> extern void *CurrentIP(void);<br>
> <br>
> I don't understand why this is happening. What am I missing?<br>
<br>
Neither do I, although the same happens here. Since I doubt many people <br>
are still following the thread, I'd suggest resending the patch with all <br>
the modifications and removing that WINAPI, with a comment that says <br>
that you don't understand why you have to remove it. And hope that <br>
somebody more experienced will have something to say.<br>
<br>
Giovanni.<br>
</blockquote></div>