(svn r2811) Fix typos in r2810
authortron
Fri, 05 Aug 2005 20:18:08 +0000
changeset 2287 3e541bce2410
parent 2286 733dbf6b4545
child 2288 2e27113b0611
(svn r2811) Fix typos in r2810
thread.c
--- a/thread.c	Fri Aug 05 11:53:48 2005 +0000
+++ b/thread.c	Fri Aug 05 20:18:08 2005 +0000
@@ -17,7 +17,7 @@
 
 struct Thread {
 	TID thread;
-	ThradFunc func;
+	ThreadFunc func;
 	void* arg;
 	void* ret;
 };
@@ -98,7 +98,7 @@
 
 struct Thread {
 	HANDLE thread;
-	ThradFunc func;
+	ThreadFunc func;
 	void* arg;
 	void* ret;
 };
@@ -119,7 +119,7 @@
 
 	t->func = function;
 	t->arg  = arg;
-	t->thread = CreateThread(NULL, 0, Proxy, arg, 0, &dwThreadId);
+	t->thread = CreateThread(NULL, 0, Proxy, t, 0, &dwThreadId);
 
 	if (t->thread != NULL) {
 		return t;