From 6e72bdd7414dff1db49dd943f440b201038a4576 Mon Sep 17 00:00:00 2001 From: rpj Date: Thu, 30 Jun 2011 02:07:14 +0000 Subject: Fixes for x64 --- create.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'create.c') diff --git a/create.c b/create.c index 881d537..654f6d4 100644 --- a/create.c +++ b/create.c @@ -90,7 +90,7 @@ pthread_create (pthread_t * tid, int result = EAGAIN; int run = PTW32_TRUE; ThreadParms *parms = NULL; - long stackSize; + size_t stackSize; int priority; pthread_t self; @@ -205,7 +205,7 @@ pthread_create (pthread_t * tid, tp->threadH = threadH = (HANDLE) _beginthreadex ((void *) NULL, /* No security info */ - (unsigned) stackSize, /* default stack size */ + stackSize, /* default stack size */ ptw32_threadStart, parms, (unsigned) @@ -238,7 +238,7 @@ pthread_create (pthread_t * tid, tp->threadH = threadH = - (HANDLE) _beginthread (ptw32_threadStart, (unsigned) stackSize, /* default stack size */ + (HANDLE) _beginthread (ptw32_threadStart, stackSize, /* default stack size */ parms); /* -- cgit v1.2.3