dsound: Make a qsort() callback function cdecl.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-08-22 09:56:46 +02:00
parent 08b569d505
commit 4c018c32ce
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ static ULONG WINAPI IDirectSoundNotifyImpl_Release(IDirectSoundNotify *iface)
return ref; 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 *left = l;
const DSBPOSITIONNOTIFY *right = r; const DSBPOSITIONNOTIFY *right = r;