diff options
author | Guenter Knauf <fuankg@apache.org> | 2014-07-16 15:23:37 +0000 |
---|---|---|
committer | Guenter Knauf <fuankg@apache.org> | 2014-07-16 15:23:37 +0000 |
commit | 678456a743b12a70ba0003567deb0634f12ed9d1 (patch) | |
tree | d4ccde2db03285ce1cdd5f2eeb5f43a2c1f1e431 /threadproc | |
parent | 8b4296564732570181fd0266818274d5adb8eb59 (diff) | |
download | apr-678456a743b12a70ba0003567deb0634f12ed9d1.tar.gz |
Fixed type; fixed comments.
git-svn-id: https://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) |