From c1cf9ae8f6afdea81f1adc84cde628062ff6c6d9 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 5 Aug 2008 20:19:13 -0700 Subject: Pass a dummy variable to CreateThread to satisfy Win9x --- Alc/alcThread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Alc/alcThread.c b/Alc/alcThread.c index 2d49a468..a749bd71 100644 --- a/Alc/alcThread.c +++ b/Alc/alcThread.c @@ -47,13 +47,14 @@ static DWORD CALLBACK StarterFunc(void *ptr) ALvoid *StartThread(ALuint (*func)(ALvoid*), ALvoid *ptr) { + DWORD dummy; ThreadInfo *inf = malloc(sizeof(ThreadInfo)); if(!inf) return 0; inf->func = func; inf->ptr = ptr; - inf->thread = CreateThread(NULL, 0, StarterFunc, inf, 0, NULL); + inf->thread = CreateThread(NULL, 0, StarterFunc, inf, 0, &dummy); if(!inf->thread) { free(inf); -- cgit v1.2.3