diff --git a/dlls/dsound/buffer.c b/dlls/dsound/buffer.c index 2a328ed32ac..dacd63957cf 100644 --- a/dlls/dsound/buffer.c +++ b/dlls/dsound/buffer.c @@ -81,7 +81,7 @@ static ULONG WINAPI IDirectSoundNotifyImpl_Release(IDirectSoundNotify *iface) return ref; } -static int notify_compar(const void *l, const void *r) +static int __cdecl notify_compar(const void *l, const void *r) { const DSBPOSITIONNOTIFY *left = l; const DSBPOSITIONNOTIFY *right = r;