summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/alcThread.c3
1 files changed, 2 insertions, 1 deletions
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);