Eliminate casts of the return value of HeapAlloc

Francois Gouget fgouget at free.fr
Mon Mar 21 07:03:59 CST 2005


On Mon, 21 Mar 2005, Alexandre Julliard wrote:
[...]
> Log message:
> 	Mike McCormack <mike at codeweavers.com>
> 	Eliminate casts of the return value of HeapAlloc.

This could be turned into a pretty easy janitorial the starting point of 
which would be the output of this command:

find . -name "*.[ch]" | xargs egrep "\) *Heap(Re)?Alloc"
(344 lines)

There are a couple of places where the output of HeapAlloc is being cast 
to a DWORD but except for those it seems pretty straightforward.


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                           La terre est une b\xEAta...



More information about the wine-devel mailing list