diff options
author | rpj <rpj> | 2011-06-30 02:07:14 +0000 |
---|---|---|
committer | rpj <rpj> | 2011-06-30 02:07:14 +0000 |
commit | 6e72bdd7414dff1db49dd943f440b201038a4576 (patch) | |
tree | 26cdde3533ef9b6114d099cc4da2af212b285c5c /create.c | |
parent | 5fdebbca2831af55fcd17d1819ec68dc17e2ec58 (diff) |
Fixes for x64
Diffstat (limited to 'create.c')
-rw-r--r-- | create.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); /* |