Re: ole32: Remove casts

2007-02-08 Thread Mike McCormack
Robert Shearman wrote: Ref counts can be assumed to be between 0 and MAXLONG, so the fact that LONG is signed isn't important. NO. The DCOM spec says that STDOBJREF::cPublicRefs is unsigned, therefore the ref counts can be assumed to be up to MAXULONG. Therefore, this change is incorrect an

Re: ole32: Remove casts

2007-02-07 Thread Robert Shearman
Mike McCormack wrote: --- This is the way ref counting is done everywhere else in Wine. Ref counts can be assumed to be between 0 and MAXLONG, so the fact that LONG is signed isn't important. NO. The DCOM spec says that STDOBJREF::cPublicRefs is unsigned, therefore the ref counts can be assu