ole32: Remove casts

Mike McCormack mike at codeweavers.com
Wed Feb 7 19:56:02 CST 2007

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.

Casting ULONG* to LONG* to solve the above problem is unnecessary.

  dlls/ole32/compobj_private.h |    4 ++--
  dlls/ole32/marshal.c         |    8 ++++----
  2 files changed, 6 insertions(+), 6 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c268f59049506f5dfd5fef64772555ed4155b20d.diff
Type: text/x-patch
Size: 2987 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070208/8c77d38e/c268f59049506f5dfd5fef64772555ed4155b20d.bin

More information about the wine-patches mailing list