summaryrefslogtreecommitdiff
path: root/create.c
diff options
context:
space:
mode:
Diffstat (limited to 'create.c')
-rw-r--r--create.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/create.c b/create.c
index 654f6d4..e154185 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;
- size_t stackSize;
+ unsigned int stackSize;
int priority;
pthread_t self;
@@ -142,7 +142,7 @@ pthread_create (pthread_t * tid,
if (a != NULL)
{
- stackSize = a->stacksize;
+ stackSize = (unsigned int)a->stacksize;
tp->detachState = a->detachstate;
priority = a->param.sched_priority;