quartz: Fix ALIGN macros.

This commit is contained in:
Chris Robinson 2007-04-07 07:05:33 -07:00 committed by Alexandre Julliard
parent 955ba73ebf
commit d9f755875b
1 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,8 @@ static const IPinVtbl OutputPin_Vtbl;
static const IMemInputPinVtbl MemInputPin_Vtbl;
static const IPinVtbl PullPin_Vtbl;
#define ALIGNDOWN(value,boundary) ((value) & ~(boundary-1))
#define ALIGNUP(value,boundary) (ALIGNDOWN(value - 1, boundary) + boundary)
#define ALIGNDOWN(value,boundary) ((value)/(boundary)*(boundary))
#define ALIGNUP(value,boundary) (ALIGNDOWN((value)+(boundary)-1, (boundary)))
static inline InputPin *impl_from_IMemInputPin( IMemInputPin *iface )
{