diff options
author | torque <torque@1> | 2015-09-13 12:13:40 -0700 |
---|---|---|
committer | torque <torque@1> | 2015-09-17 13:25:06 -0700 |
commit | 11d5bdc0175e1debeddfb807e523927f07ee07bc (patch) | |
tree | 9e606f451b7b3b1b685085a37858765e81fb27f0 | |
parent | 45ae478d2dd4576a09b0680e0b8b220a9c30330e (diff) | |
download | libass-11d5bdc0175e1debeddfb807e523927f07ee07bc.tar.bz2 libass-11d5bdc0175e1debeddfb807e523927f07ee07bc.tar.xz |
directwrite: fix syntax error with MSVC.
MSVC requires the calling convention to be grouped with the identifier when
defining a callback type.
-rw-r--r-- | libass/ass_directwrite.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |