diff options
| author | fuankg <fuankg@13f79535-47bb-0310-9956-ffa450edef68> | 2014-07-16 15:23:37 +0000 |
|---|---|---|
| committer | fuankg <fuankg@13f79535-47bb-0310-9956-ffa450edef68> | 2014-07-16 15:23:37 +0000 |
| commit | 86075cf17fd2589b69da7b58ccc05e19f93fc8ca (patch) | |
| tree | d4ccde2db03285ce1cdd5f2eeb5f43a2c1f1e431 /threadproc | |
| parent | 6d3647261063ef1c83a9851e5b7babe6693452cf (diff) | |
| download | libapr-86075cf17fd2589b69da7b58ccc05e19f93fc8ca.tar.gz | |
Fixed type; fixed comments.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1611046 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
| -rw-r--r-- | threadproc/netware/thread.c | 8 |
1 files changed, 4 insertions, 4 deletions
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) |
