From 11d5bdc0175e1debeddfb807e523927f07ee07bc Mon Sep 17 00:00:00 2001 From: torque Date: Sun, 13 Sep 2015 12:13:40 -0700 Subject: directwrite: fix syntax error with MSVC. MSVC requires the calling convention to be grouped with the identifier when defining a callback type. --- libass/ass_directwrite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libass/ass_directwrite.c b/libass/ass_directwrite.c index f11deb6..066629d 100644 --- a/libass/ass_directwrite.c +++ b/libass/ass_directwrite.c @@ -650,7 +650,7 @@ static ASS_FontProviderFuncs directwrite_callbacks = { .get_fallback = get_fallback, }; -typedef HRESULT WINAPI (*DWriteCreateFactoryFn)( +typedef HRESULT (WINAPI *DWriteCreateFactoryFn)( _In_ DWRITE_FACTORY_TYPE factoryType, _In_ REFIID iid, _Out_ IUnknown **factory -- cgit v1.2.3