Alexandre Julliard : dsound: Make a qsort() callback function cdecl.

Alexandre Julliard julliard at winehq.org
Thu Aug 22 15:09:54 CDT 2019


Module: wine
Branch: master
Commit: 4c018c32ce41af31f3d0b9ebb47ea3c296d36efb
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=4c018c32ce41af31f3d0b9ebb47ea3c296d36efb

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Aug 22 09:56:46 2019 +0200

dsound: Make a qsort() callback function cdecl.

Signed-off-by: Alexandre Julliard <julliard at 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;




More information about the wine-cvs mailing list