Commit 7e37cc8e authored by Bjorn Reese's avatar Bjorn Reese

Linux build fails due to undeclared variable

parent be116083
...@@ -316,7 +316,7 @@ int main (int argc, char *argv []) ...@@ -316,7 +316,7 @@ int main (int argc, char *argv [])
WaitForSingleObject (worker[i], INFINITE); WaitForSingleObject (worker[i], INFINITE);
CloseHandle (worker[i]); CloseHandle (worker[i]);
#else #else
pthread_join( worker[i], &p); pthread_join( worker[i], NULL);
#endif #endif
printf("Worker %d joined\n", i); printf("Worker %d joined\n", i);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment