Re: user32: Remove unneeded casts.

2007-12-29 Thread Alexandre Julliard
Andrew Talbot <[EMAIL PROTECTED]> writes: > In general, I have left the casts in where one PVOID-type handle was cast as > another, e.g. HMODULE as HANDLE: I wasn't sure if strict typing might (one > day) be an issue. AFAIK, my only transgressions were when I removed the > casts from the return va

Re: user32: Remove unneeded casts.

2007-12-29 Thread Andrew Talbot
Michael Stefaniuc wrote: > I just stumbled upon those while researching a potential problem for > which Smatch issued a warning. > [...] > @@ -1324,7 +1324,7 @@ HDDEDATA WINAPI DdeAddData(HDDEDATA hData, LPBYTE > pSrc, DWORD cb, DWORD cbOff) > if (new_sz > old_sz) > { > DdeUnaccessData(