diff options
author | Guenter Knauf <fuankg@apache.org> | 2014-07-16 15:49:03 +0000 |
---|---|---|
committer | Guenter Knauf <fuankg@apache.org> | 2014-07-16 15:49:03 +0000 |
commit | f0bc8f4f240232d4dc52ec722ef955c28190f211 (patch) | |
tree | 246702b0bd96f3216ef8b5bb0121eeebd13051f9 | |
parent | c9a4e99bfd5784faf4d0d067031f3746fc342ec2 (diff) | |
download | apr-1.3.x.tar.gz |
Fixed type; fixed comments.1.3.x
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.3.x@1611061 13f79535-47bb-0310-9956-ffa450edef68
-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 e1a46e6e2..f98366855 100644 --- a/threadproc/netware/thread.c +++ b/threadproc/netware/thread.c @@ -77,7 +77,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; @@ -120,8 +120,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); stat = NXContextSetName( @@ -130,7 +130,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) |