From 86075cf17fd2589b69da7b58ccc05e19f93fc8ca Mon Sep 17 00:00:00 2001 From: fuankg Date: Wed, 16 Jul 2014 15:23:37 +0000 Subject: Fixed type; fixed comments. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1611046 13f79535-47bb-0310-9956-ffa450edef68 --- threadproc/netware/thread.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'threadproc') diff --git a/threadproc/netware/thread.c b/threadproc/netware/thread.c index 5e3d99d55..a34bada9b 100644 --- a/threadproc/netware/thread.c +++ b/threadproc/netware/thread.c @@ -82,7 +82,7 @@ apr_status_t apr_thread_create(apr_thread_t **new, apr_pool_t *pool) { apr_status_t stat; - long flags = NX_THR_BIND_CONTEXT; + unsigned long flags = NX_THR_BIND_CONTEXT; char threadName[NX_MAX_OBJECT_NAME_LEN+1]; size_t stack_size = APR_DEFAULT_STACK_SIZE; @@ -125,8 +125,8 @@ apr_status_t apr_thread_create(apr_thread_t **new, /* void(*start_routine)(void *arg)*/(void (*)(void *)) dummy_worker, /* void *arg */ (*new), /* int priority */ NX_PRIO_MED, - /* NXSize_t stackSize */ stack_size, - /* long flags */ NX_CTX_NORMAL, + /* size_t stackSize */ stack_size, + /* unsigned long flags */ NX_CTX_NORMAL, /* int *error */ &stat); @@ -136,7 +136,7 @@ apr_status_t apr_thread_create(apr_thread_t **new, stat = NXThreadCreate( /* NXContext_t context */ (*new)->ctx, - /* long flags */ flags, + /* unsigned long flags */ flags, /* NXThreadId_t *thread_id */ &(*new)->td); if (stat == 0) -- cgit v1.2.1