Alexandre Julliard : dsound: Make a qsort() callback function cdecl.
Module: wine Branch: master Commit: 4c018c32ce41af31f3d0b9ebb47ea3c296d36efb URL: https://source.winehq.org/git/wine.git/?a=commit;h=4c018c32ce41af31f3d0b9ebb... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu Aug 22 09:56:46 2019 +0200 dsound: Make a qsort() callback function cdecl. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/dsound/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dsound/buffer.c b/dlls/dsound/buffer.c index 2a328ed..dacd639 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;
participants (1)
-
Alexandre Julliard