X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=src%2Fglut%2Faudio.c;fp=src%2Fglut%2Faudio.c;h=a7ea50ca8319b76e03604e66980ca06d52055fb8;hp=c776d3bb0c2123feb46af70373d115d93f7349c2;hb=3f4019dfbeea0b5e3b0bc657f1bad6bc2b53dd42;hpb=e23b27a06797d931992ab9b8d21055f789371e2a diff --git a/src/glut/audio.c b/src/glut/audio.c index c776d3b..a7ea50c 100644 --- a/src/glut/audio.c +++ b/src/glut/audio.c @@ -63,7 +63,7 @@ int au_init(void) { #ifdef _WIN32 HANDLE thr; - if((thr = CreateThread(0, 0, update, 0, 0, 0))) { + if((thr = CreateThread(0, 0, upd_thread, 0, 0, 0))) { CloseHandle(thr); } #else @@ -169,7 +169,7 @@ void au_update(void) } #ifdef _WIN32 -static DWORD WINAPI upd_thread(void *cls); +static DWORD WINAPI upd_thread(void *cls) #else static void *update(void *cls) #endif