Meaning that I should not shift TO using that macro instead shift AWAY from using it?

I have been doing some cleanup and been shifting to using it more.

-aric

On 3/30/12 11:08 AM, Jacek Caban wrote:
On 03/30/12 17:55, Aric Stewart wrote:
diff --git a/dlls/quartz/quartz_private.h b/dlls/quartz/quartz_private.h
index 35cd52b..d2f680c 100644
--- a/dlls/quartz/quartz_private.h
+++ b/dlls/quartz/quartz_private.h
@@ -38,7 +38,7 @@
  #define BYTES_FROM_MEDIATIME(time) SEC_FROM_MEDIATIME(time)
  #define MSEC_FROM_MEDIATIME(time) ((time) / 10000)

-#define ICOM_THIS_MULTI(impl,field,iface) impl* const 
This=(impl*)((char*)(iface) - offsetof(impl,field))
+#define ICOM_THIS_MULTI(impl,field,iface) impl* const 
This=CONTAINING_RECORD(iface, impl, field)

These should disappear once the clean up of affected code is done.

Cheers,
Jacek


Reply via email to