Commit c955f038 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

ieframe: Don't open code CONTAINING_RECORD().

parent e0f763ab
......@@ -77,7 +77,7 @@ static inline InternetShortcut* impl_from_IPersistFile(IPersistFile *iface)
static inline InternetShortcut* impl_from_IPropertySetStorage(IPropertySetStorage *iface)
{
return (InternetShortcut*)((char*)iface - FIELD_OFFSET(InternetShortcut, IPropertySetStorage_iface));
return CONTAINING_RECORD(iface, InternetShortcut, IPropertySetStorage_iface);
}
static BOOL run_winemenubuilder( const WCHAR *args )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment