Re: PATCH: almost ready with the conversion of HWND to a void*
Michael Stefaniuc <mstefani(a)redhat.de> writes:
the attached patch is independent of the previous sent HWND4.diff and should almost finish the conversion of HWND to a void*. There are still some "warning: assignment makes pointer from integer without a cast" but they occur between SERVER_START_REQ and SERVER_END_REQ and i didn't figured out to what to cast the HWND's (that code is a little bit too obfuscated for me).
Actually you don't need to cast them at all. When handles are made void* server handles will be void* too so it will all work fine. -- Alexandre Julliard julliard(a)winehq.com
On Fri, Sep 06, 2002 at 12:58:34PM -0700, Alexandre Julliard wrote:
Michael Stefaniuc <mstefani(a)redhat.de> writes:
the attached patch is independent of the previous sent HWND4.diff and should almost finish the conversion of HWND to a void*. There are still some "warning: assignment makes pointer from integer without a cast" but they occur between SERVER_START_REQ and SERVER_END_REQ and i didn't figured out to what to cast the HWND's (that code is a little bit too obfuscated for me).
Actually you don't need to cast them at all. When handles are made void* server handles will be void* too so it will all work fine. Cool. After applying HWND5.diff you can switch than to DECLARE_HANDLE(HWND).
bye michael -- Michael Stefaniuc Tel.: +49-711-96437-199 System Administration Fax.: +49-711-96437-111 Red Hat GmbH Email: mstefani(a)redhat.com Hauptstaetterstr. 58 http://www.redhat.de/ D-70178 Stuttgart
participants (2)
-
Alexandre Julliard -
Michael Stefaniuc