[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: RICHEDIT once again
From:       Krzysztof Foltman <kfoltman () portal ! onet ! pl>
Date:       2005-01-30 23:04:01
Message-ID: 41FD67E1.9050202 () portal ! onet ! pl
[Download RAW message or body]

Rob Shearman wrote:

> There are a few HGDIOBJ casts as well as the already mentioned ALLOC_OBJ 
> macro. For example, in paint.c:
>          DeleteObject((HGDIOBJ)hbr);

Yes, both are HANDLEs, so they don't really need a cast. I've probably 
written too much MFC code in my life :)

I've deleted all HGDIOBJ casts, but I'm not sure if it's the only case 
of redundant casts.

Krzysztof

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic